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/IPMSAbstractService.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/IPMSAbstractService.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/rfcs/IPMSAbstractService.asn1 | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/rfcs/IPMSAbstractService.asn1 b/lib/asn1/test/asn1_SUITE_data/rfcs/IPMSAbstractService.asn1 new file mode 100644 index 0000000000..3fec8ae64a --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/rfcs/IPMSAbstractService.asn1 @@ -0,0 +1,148 @@ +-- Module IPMSAbstractService (X.420:06/1999) +IPMSAbstractService {joint-iso-itu-t mhs(6) ipms(1) modules(0) + abstract-service(3) version-1994(0)} DEFINITIONS IMPLICIT TAGS ::= +BEGIN + +-- Prologue +-- Exports everything. +IMPORTS + -- IPMS Information Objects + AutoForwardComment, Heading, InformationObject, IPM, NRN, ON, RN + --== + FROM IPMSInformationObjects {joint-iso-itu-t mhs(6) ipms(1) modules(0) + information-objects(2) version-1999(1)} + -- IPMS Object Identifiers + id-pt-management, id-pt-origination, id-pt-reception + --== + FROM IPMSObjectIdentifiers {joint-iso-itu-t mhs(6) ipms(1) modules(0) + object-identifiers(0) version-1999(1)} + -- MTS Abstract Service + ABSTRACT-ERROR, ABSTRACT-OPERATION, MessageDeliveryEnvelope, + MessageSubmissionEnvelope, MessageSubmissionIdentifier, + MessageSubmissionTime, ORName, PORT, ProbeSubmissionEnvelope, + ProbeSubmissionIdentifier, ProbeSubmissionTime, + recipient-improperly-specified, ReportDeliveryEnvelope, + SupplementaryInformation + --== + FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0) + mts-abstract-service(1) version-1999(1)}; + +-- Ports +origination PORT ::= { + CONSUMER INVOKES + {originate-probe | originate-ipm | originate-rn | originate-on} + ID id-pt-origination +} + +reception PORT ::= { + SUPPLIER INVOKES + {receive-report | receive-ipm | receive-rn | receive-nrn | receive-on} + ID id-pt-reception +} + +management PORT ::= { + CONSUMER INVOKES + {change-auto-discard | change-auto-acknowledgment | change-auto-forwarding} + ID id-pt-management +} + +-- Origination abstract operations +originate-probe ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] ProbeSubmissionEnvelope, + content [1] IPM} + RESULT + SET {submission-identifier [0] ProbeSubmissionIdentifier, + submission-time [1] ProbeSubmissionTime} + ERRORS {subscription-error | recipient-improperly-specified} +} + +originate-ipm ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] MessageSubmissionEnvelope, + content [1] IPM} + RESULT + SET {submission-identifier [0] MessageSubmissionIdentifier, + submission-time [1] MessageSubmissionTime} + ERRORS {subscription-error | recipient-improperly-specified} +} + +originate-rn ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] MessageSubmissionEnvelope, + content [1] RN} + RESULT + SET {submission-identifier [0] MessageSubmissionIdentifier, + submission-time [1] MessageSubmissionTime} + ERRORS {subscription-error | recipient-improperly-specified} +} + +originate-on ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] MessageSubmissionEnvelope, + content [1] ON} + RESULT + SET {submission-identifier [0] MessageSubmissionIdentifier, + submission-time [1] MessageSubmissionTime} + ERRORS {subscription-error | recipient-improperly-specified} +} + +-- Reception abstract operations +receive-report ABSTRACT-OPERATION ::= { + ARGUMENT + SET {envelope [0] ReportDeliveryEnvelope, + undelivered-object [1] InformationObject OPTIONAL} +} + +receive-ipm ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] MessageDeliveryEnvelope, + content [1] IPM} +} + +receive-rn ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] MessageDeliveryEnvelope, + content [1] RN} +} + +receive-nrn ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] MessageDeliveryEnvelope, + content [1] NRN} +} + +receive-on ABSTRACT-OPERATION ::= { + ARGUMENT SET {envelope [0] MessageDeliveryEnvelope, + content [1] ON} +} + +-- Management abstract operations +change-auto-discard ABSTRACT-OPERATION ::= { + ARGUMENT + SET {auto-discard-expired-IPMs [0] BOOLEAN, + auto-discard-obsolete-IPMs [1] BOOLEAN} +} + +change-auto-acknowledgment ABSTRACT-OPERATION ::= { + ARGUMENT + SET {auto-acknowledge-IPMs [0] BOOLEAN, + auto-acknowledge-suppl-receipt-info + [1] SupplementaryInformation OPTIONAL} + ERRORS {subscription-error} +} + +change-auto-forwarding ABSTRACT-OPERATION ::= { + ARGUMENT + SET {auto-forward-IPMs [0] BOOLEAN, + auto-forward-recipients [1] SEQUENCE OF ORName OPTIONAL, + auto-forward-heading [2] Heading OPTIONAL, + auto-forward-comment [3] AutoForwardComment OPTIONAL} + ERRORS {subscription-error | recipient-improperly-specified} +} + +-- Abstract errors +subscription-error ABSTRACT-ERROR ::= { + PARAMETER SET {problem [0] SubscriptionProblem} +} + +SubscriptionProblem ::= ENUMERATED { + ipms-eos-not-subscribed(0), mts-eos-not-subscribed(1)} + +END -- of IPMSAbstractService + +-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D + |