diff options
author | Dan Gudmundsson <[email protected]> | 2014-10-17 10:26:02 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-12 11:40:27 +0100 |
commit | 8a39672af4d9becac56ca069ecc107d68b202dcb (patch) | |
tree | f5c7b3fc50a8355fea1b0844247ba3031710857e /lib/asn1/test/asn1_SUITE_data/rfcs/External-References.asn1 | |
parent | 7339da14195d1eeac133be8b9b7287ac8b577114 (diff) | |
download | otp-8a39672af4d9becac56ca069ecc107d68b202dcb.tar.gz otp-8a39672af4d9becac56ca069ecc107d68b202dcb.tar.bz2 otp-8a39672af4d9becac56ca069ecc107d68b202dcb.zip |
Add the other PKCS files to the rfcs test case
Changed the following from the original copies:
PKCS-5 (renamed from PKCS-v21)
PKCS-9 Import from CryptographicMessageSyntax-2009 instead
of CryptographicMessageSyntax
Since most of the files from the x420 directory are needed,
copy all of them into the rfcs directory and remove the
x420 directory and test case. Copy the test of OTP-7759 to
the testRfcs test case.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/rfcs/External-References.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/rfcs/External-References.asn1 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/rfcs/External-References.asn1 b/lib/asn1/test/asn1_SUITE_data/rfcs/External-References.asn1 new file mode 100644 index 0000000000..9a7d4936a6 --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/rfcs/External-References.asn1 @@ -0,0 +1,49 @@ +-- Module External-References (T.422:08/1995) + +External-References {2 8 1 12 1} DEFINITIONS IMPLICIT TAGS ::= +BEGIN + +EXPORTS External-References-List, Reference-Name; + +IMPORTS + Location-Expression + FROM Location-Expressions {2 8 1 12 0} + -- see 7.4 + DOR + FROM DOR-definition {2 4 0} + -- see ISO/IEC 10031-2 + DistinguishedName + FROM InformationFramework {joint-iso-itu-t ds(5) module(1) + informationFramework(1) 3}; + +-- see ITU-T Rec. X.501 � ISO/IEC 9594-2 +External-References-List ::= + SET OF + SET {reference-name [1] Reference-Name, + external-entity [2] External-Entity, + location-rule [3] Location-Expression OPTIONAL} + +Reference-Name ::= PrintableString + +External-Entity ::= CHOICE { + external-info [0] External-Information-Name, + object-id [1] OBJECT IDENTIFIER, + dor [2] DOR, + distinguished [3] DistinguishedName, + associated-info [4] Associated-Information-Name +} + +External-Information-Name ::= SEQUENCE { + string [0] PrintableString, + object-id [1] OBJECT IDENTIFIER OPTIONAL +} + +Associated-Information-Name ::= SEQUENCE { + string [0] PrintableString, + object-id [1] OBJECT IDENTIFIER OPTIONAL +} + +END + +-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D + |