aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/x420/DOR-definition.asn
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-10-17 10:26:02 +0200
committerBjörn Gustavsson <[email protected]>2015-01-12 11:40:27 +0100
commit8a39672af4d9becac56ca069ecc107d68b202dcb (patch)
treef5c7b3fc50a8355fea1b0844247ba3031710857e /lib/asn1/test/asn1_SUITE_data/x420/DOR-definition.asn
parent7339da14195d1eeac133be8b9b7287ac8b577114 (diff)
downloadotp-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/x420/DOR-definition.asn')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/x420/DOR-definition.asn134
1 files changed, 0 insertions, 134 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/x420/DOR-definition.asn b/lib/asn1/test/asn1_SUITE_data/x420/DOR-definition.asn
deleted file mode 100644
index cd3330dc56..0000000000
--- a/lib/asn1/test/asn1_SUITE_data/x420/DOR-definition.asn
+++ /dev/null
@@ -1,134 +0,0 @@
--- Module DOR-definition (ISO|IEC 10031-2:1991)
-DOR-definition {joint-iso-itu-t dor(4) reference-definition(0)} DEFINITIONS ::=
-BEGIN
-
-EXPORTS
- AE-Identifier, Altered-value, DOR, dor-abstract-syntax, dor-syntax-asn1,
- dorx, Extend-QoS, Local-reference, Locational-identifier, Produce-QoS,
- QoS-level, Quality-of-Service, Requested-QoS-level,
- Single-use-of-reference, Token;
-
-IMPORTS
- DistinguishedName
- FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
- informationFramework(1) 3}
- PresentationAddress
- FROM SelectedAttributeTypes {joint-iso-itu-t ds(5) module(1)
- selectedAttributeTypes(5) 3};
-
--- Defined Object Identifiers
-dorx OBJECT IDENTIFIER ::=
- {joint-iso-itu-t dor(11)}
-
--- Object identifier for abstract syntax of DOR
-dor-abstract-syntax OBJECT IDENTIFIER ::=
- {dorx reference-abstract-syntax(1)}
-
--- Object identifier for abstract syntax of DOR with basic ASN.1 encodings in
--- EXTERNAL
-dor-syntax-asn1 OBJECT IDENTIFIER ::=
- {dorx reference-syntax(2) asn1(0)}
-
--- Definition of DOR type
-DOR ::= SEQUENCE {
- ae-identifier [0] AE-Identifier OPTIONAL,
- -- mandatory in case of produce-operations and consume-operations
- local-reference [1] Local-reference,
- data-object-type OBJECT IDENTIFIER,
- -- identifying the abstract syntax and the transfer syntax of the
- -- referenced data value
- quality-of-service [2] Quality-of-Service DEFAULT {},
- token [3] Token OPTIONAL
-}
-
-AE-Identifier ::= SEQUENCE { -- at least one component shall be present
- locational-identifier [0] Locational-identifier OPTIONAL,
- direct-logical-identifier [1] DistinguishedName OPTIONAL,
- indirect-logical-identifier [2] DistinguishedName OPTIONAL
-}
-
-Locational-identifier ::= SEQUENCE {
- presentation-address [0] PresentationAddress,
- ae-title [1] AE-title OPTIONAL,
- -- as defined in ISO 8650:1988/Cor.1:1990
- application-contexts SET OF OBJECT IDENTIFIER
-}
-
-Local-reference ::= SEQUENCE {
- application [0] OCTET STRING OPTIONAL,
- specific-reference [1] OCTET STRING
-}
-
-Quality-of-Service ::= SEQUENCE {
- qoS-level [0] QoS-level DEFAULT level-1:NULL,
- usage-of-reference Single-use-of-reference DEFAULT TRUE
-}
-
-QoS-level ::= CHOICE {
- level-1 [1] IMPLICIT NULL,
- level-2 [2] IMPLICIT GeneralizedTime,
- -- specifying the produce time
- level-3
- [3] IMPLICIT SEQUENCE {produce-time GeneralizedTime,
- fidelity-time GeneralizedTime}
-}
-
-Single-use-of-reference ::= BOOLEAN
-
-Token ::= CHOICE {
- simpletoken OCTET STRING,
- -- used to validate an access which use this DOR
- externaltoken EXTERNAL -- for future proxy mechanism
-}
-
--- Data types for produce-operations
-Produce-QoS ::= SEQUENCE {
- qoS-level [0] Requested-QoS-level DEFAULT level-1:NULL,
- usage-of-reference Single-use-of-reference DEFAULT TRUE
-}
-
-Requested-QoS-level ::= CHOICE {
- level-1 [1] IMPLICIT NULL,
- level-2 [2] IMPLICIT NULL,
- level-3 [3] IMPLICIT GeneralizedTime
- -- specifying the requested fidelity-time
-}
-
--- Data types for extending a specific QoS
-Extend-QoS ::= SEQUENCE {
- qoS-level [0] Requested-QoS-level OPTIONAL,
- -- if omitted, no change required
- usage-of-reference Single-use-of-reference OPTIONAL
- -- if omitted, no change required
-}
-
--- Data types for requesting / indicating value alteration in produce-operation
--- or access-operation
-Altered-value ::= ENUMERATED {
- value-not-altered(1), value-altered(2), undefined(3)}
-
--- dw: definition of AE-title, as defined in ISO 8650:1988/Cor.1:1990
--- dw: defined in-line here so we don't need to import it, original comments
--- dw: are as they appear in the 8650:1988 Annex E
-AP-title ::= TYPE-IDENTIFIER.&Type
-
--- The exact definition and values used for AP-title
--- should be chosen taking into account the ongoing
--- work in areas of naming, the Directory, and the
--- Registration Authority procedures for AE titles,
--- AE titles, and AE qualifiers
-AE-qualifier ::= TYPE-IDENTIFIER.&Type
-
--- The exact definition and values used for AE-qualifier
--- should be chosen taking into account the ongoing
--- work in areas of naming, the Directory, and the
--- Registration Authority procedures for AE titles,
--- AE titles, and AE qualifiers
-AE-title ::= SEQUENCE {ap AP-title,
- ae AE-qualifier
-}
-
-END -- of DOR-definition
-
--- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
-