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/GulsSecurityExchanges.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/GulsSecurityExchanges.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/rfcs/GulsSecurityExchanges.asn1 | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/rfcs/GulsSecurityExchanges.asn1 b/lib/asn1/test/asn1_SUITE_data/rfcs/GulsSecurityExchanges.asn1 new file mode 100644 index 0000000000..336b824174 --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/rfcs/GulsSecurityExchanges.asn1 @@ -0,0 +1,79 @@ +-- Module GulsSecurityExchanges (X.830:04/1995) + +GulsSecurityExchanges {joint-iso-itu-t genericULS(20) modules(1) + gulsSecurityExchanges(2)} DEFINITIONS AUTOMATIC TAGS ::= +BEGIN + +-- EXPORTS All +IMPORTS + securityExchanges, notation + FROM ObjectIdentifiers {joint-iso-itu-t genericULS(20) modules(1) + objectIdentifiers(0)} + SECURITY-EXCHANGE, SEC-EXCHG-ITEM, SE-ERROR + FROM Notation notation + Credentials, SecurityProblem + FROM DirectoryAbstractService {joint-iso-itu-t ds(5) module(1) + directoryAbstractService(2) 3}; + +-- ******************************************* +-- Directory Authentication Exchange (One-way) +-- ******************************************* +dirAuthenticationOneWay SECURITY-EXCHANGE ::= { + SE-ITEMS {credentials} + IDENTIFIER global:{securityExchanges dir-authent-one-way(1)} +} + +credentials SEC-EXCHG-ITEM ::= { + ITEM-TYPE DirectoryAbstractService.Credentials + ITEM-ID 1 +} + +-- ******************************************* +-- Directory Authentication Exchange (Two-way) +-- ******************************************* +dirAuthenticationTwoWay SECURITY-EXCHANGE ::= { + SE-ITEMS {initiatorCredentials | responderCredentials} + IDENTIFIER global:{securityExchanges dir-authent-two-way(2)} +} + +initiatorCredentials SEC-EXCHG-ITEM ::= { + ITEM-TYPE DirectoryAbstractService.Credentials + ITEM-ID 1 + ERRORS {authenticationFailure} +} + +responderCredentials SEC-EXCHG-ITEM ::= { + ITEM-TYPE DirectoryAbstractService.Credentials + ITEM-ID 2 +} + +authenticationFailure SE-ERROR ::= { + PARAMETER DirectoryAbstractService.SecurityProblem + ERROR-CODE local:1 +} + +-- *************************** +-- Simple Negotiation Exchange +-- *************************** +simpleNegotiationSE SECURITY-EXCHANGE ::= { + SE-ITEMS {offeredIds | acceptedIds} + IDENTIFIER global:{securityExchanges simple-negotiation-se(3)} +} + +offeredIds SEC-EXCHG-ITEM ::= {ITEM-TYPE Negotiation-SEI + ITEM-ID 1 +} + +acceptedIds SEC-EXCHG-ITEM ::= {ITEM-TYPE Negotiation-SEI + ITEM-ID 2 +} + +Negotiation-SEI ::= SEQUENCE OF OBJECT IDENTIFIER + +END + +-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D + + +-- content of stack: +-- |