From 8a39672af4d9becac56ca069ecc107d68b202dcb Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Fri, 17 Oct 2014 10:26:02 +0200 Subject: 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. --- .../rfcs/GulsSecurityExchanges.asn1 | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 lib/asn1/test/asn1_SUITE_data/rfcs/GulsSecurityExchanges.asn1 (limited to 'lib/asn1/test/asn1_SUITE_data/rfcs/GulsSecurityExchanges.asn1') 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: +-- -- cgit v1.2.3