-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheme-response-asn1.txt
53 lines (36 loc) · 1.88 KB
/
eme-response-asn1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
EME-GENERIC-RESPONSE DEFINITIONS ::=
BEGIN
EME-KeyId ::= UTF8String
EME-EncryptedKey ::= SEQUENCE {
-- Key encrypted for deliveryKeyIdentifier from EME-SignedRequest.
key OCTET STRING,
-- Key ID from EME-SignedRequest that matches encrypted key
keyId EME-KeyId
}
EME-EncryptedKeys ::= SET OF EME-EncryptedKey
EME-ResponseData ::= SEQUENCE {
-- The time that the response was created, according to the server.
responseTime UTCTime,
-- The list of requested keys that were authorized for use by this client
requestedKeys EME-EncryptedKeys,
-- The time after which this license should no longer be used, according to the server.
expiration [0] EXPLICIT UTCTime OPTIONAL,
-- If TRUE, application can use loadSession().
cachingAllowed [1] EXPLICIT BOOLEAN OPTIONAL,
-- If TRUE, application should call remove() when done with this license.
returnRequested [2] EXPLICIT BOOLEAN OPTIONAL,
-- If TRUE, application should expect errors related to output restrictions.
outputRestricted [3] EXPLICIT BOOLEAN OPTIONAL,
}
-- The response data is cryptographically signed by the server.
-- For ASN.1 messages, we use Cryptographic Message Syntax defined here: http://tools.ietf.org/html/rfc5652
EME-SignedResponse ::= SignedData
-- The message contents
EncapsulatedContentInfo ::= SEQUENCE {
-- Defined for EME-SignedResponse to be OBJECT IDENTIFIER(1.3.6.1.3.9998)
-- Above OID is for illustrative purposes only and should be replaced with a real one.
eContentType ContentType,
-- REQUIRED for EME-SignedResponse and defined to be the encoded EME-ResponseData.
eContent [0] EXPLICIT OCTET STRING OPTIONAL
}
END