See: Description
| Class | Description |
|---|---|
| C509AlgorithmIdentifier |
A C509 AlgorithmIdentifier, either a registered CBOR int or an unwrapped CBOR OID
(RFC 9090) optionally followed by the DER-encoded parameters as a CBOR byte string
(Sections 3.1.3 and 3.1.7 of draft-ietf-cose-cbor-encoded-cert-21):
AlgorithmIdentifier = int / ~oid / [ algorithm: ~oid, parameters: bytes ]
The meaning of a registered int depends on which registry the field draws from
(signature algorithms, Section 8.14, or public key algorithms, Section 8.15), so
instances are created through the registry-specific factory methods, and every
instance carries its resolved X.509
AlgorithmIdentifier. |
| C509Attribute |
A single C509 certification request attribute (Section 4.3 of
draft-ietf-cose-cbor-encoded-cert-21):
CRAttribute = ( ( attributeType: int, attributeValue: Defined ) //
( attributeType: ~oid, attributeValue: bytes ) )
The C509 CR Attributes Registry (Section 8.7) defines values 0 (extensionRequest),
1 (challengePassword) and 2 (privateKeyPossessionStatement).
|
| C509AttributeType |
The C509 RDN Attributes Registry, Section 8.6 of draft-ietf-cose-cbor-encoded-cert-21.
|
| C509Certificate |
A C509 certificate (Section 3 of draft-ietf-cose-cbor-encoded-cert-21):
C509Certificate = [ TBSCertificate, issuerSignatureValue: any ]
where the ten elements of the TBSCertificate group are inlined into the array, and
for a natively signed certificate the signature is computed over their encoding as
a CBOR sequence (RFC 8742).
|
| C509CertificationRequest |
A C509 certification request (Section 4 of draft-ietf-cose-cbor-encoded-cert-21):
C509CertificationRequest = [ TBSCertificationRequest, subjectSignatureValue: any ]
where the six elements of the TBSCertificationRequest group are inlined into the
array.
|
| C509CertificationRequestTemplate |
A C509 certification request template (Section 4.4 of
draft-ietf-cose-cbor-encoded-cert-21), returned by an EST server in response to a
GET /csrattrs request to tell the client what its certification request should
contain:
C509CertificationRequestTemplate = [
c509CertificationRequestTemplateType: int,
c509CertificationRequestType: [+ int] / undefined,
subjectSignatureAlgorithm: [+ AlgorithmIdentifier] / undefined,
subject: NameTemplate / undefined,
subjectPublicKeyAlgorithm: [+ AlgorithmIdentifier] / undefined,
subjectPublicKey: undefined,
extensionsRequest: ExtensionsTemplate / undefined,
]
The CBOR simple value undefined marks the fields the client is expected to fill
in - represented here as null returns from the accessors.
|
| C509CertificationRequestTemplate.ExtensionTemplate |
An ExtensionTemplate group (Section 4.4): an extension with an "optional" flag
and a prescribed or partial value.
|
| C509CertificationRequestTemplate.RDNAttributeTemplate |
An RDNAttributeTemplate group (Section 4.4): an attribute type with its minimum
and maximum number of occurrences and an optional prescribed value.
|
| C509ConversionOptions |
Options controlling the conversion of an X.509 certificate to C509.
|
| C509Extension |
A single C509 extension (Section 3.1.10 of draft-ietf-cose-cbor-encoded-cert-21):
Extension = ( ( extensionID: int, extensionValue: Defined ) //
( extensionID: ~oid, extensionValue: bytes / [ bytes ] ) )
For the int-coded form the absolute value of the int is the C509 Extensions
Registry value, the sign carries criticality (negative for critical), and the value
is the specific CBOR encoding of Section 3.3.
|
| C509Extensions |
The C509 extensions field (Section 3.1.10 of draft-ietf-cose-cbor-encoded-cert-21):
Extensions = [ * Extension ] / int
An omitted X.509 extensions field is an empty CBOR array.
|
| C509ExtensionType |
The C509 Extensions Registry, Section 8.8 of draft-ietf-cose-cbor-encoded-cert-21.
|
| C509MediaTypes |
The media types registered for C509 structures, Section 8.18 of
draft-ietf-cose-cbor-encoded-cert-21.
|
| C509Name |
A C509 Name (Section 3.1.4 of draft-ietf-cose-cbor-encoded-cert-21):
Name = [ * RDNAttribute ] / SpecialText
RDNAttribute = ( ( attributeType: int, attributeValue: SpecialText ) //
( attributeType: ~oid, attributeValue: bytes ) )
SpecialText = text / bytes / tag
For an int-coded attribute the absolute value of the int is the C509 RDN Attributes
Registry value and the sign carries the DER string type (positive for utf8String,
negative for printableString; attributes that are always IA5String use a
non-negative int).
|
| C509PEM |
A C509PEM structure (Section 3.6 of draft-ietf-cose-cbor-encoded-cert-21):
C509PEM = [ C509PrivateKey, COSE_C509 / null ]
pairing a private key with the certificates for the corresponding public key.
|
| C509PrivateKey |
A C509 private key structure (Section 3.6 of draft-ietf-cose-cbor-encoded-cert-21):
C509PrivateKey = [
C509PrivateKeyType: int,
subjectPrivateKeyAlgorithm: AlgorithmIdentifier,
subjectPrivateKey: any,
]
For type 0 the subjectPrivateKey is the PrivateKey OCTET STRING value field of
RFC 5958 as a CBOR byte string; for type 1 it is a COSE_Key structure (RFC 9052),
carried here uninterpreted.
|
| C509PrivateKeyPossessionStatement |
The C509 form of the RFC 9883 privateKeyPossessionStatement certification request
attribute (Section 4.3.3 of draft-ietf-cose-cbor-encoded-cert-21):
PrivateKeyPossessionStatement = [
issuer: Name,
certificateSerialNumber: CertificateSerialNumber,
cert: C509CertData / null,
]
The issuer and serial number name the signature certificate whose holder vouches
for possession of the key-establishment private key; the certificate itself may be
carried alongside, as a C509 certificate of either type.
|
| C509PublicKeyAlgorithm |
The C509 Public Key Algorithms Registry, Section 8.15 of
draft-ietf-cose-cbor-encoded-cert-21.
|
| C509SignatureAlgorithm |
The C509 Signature Algorithms Registry, Section 8.14 of
draft-ietf-cose-cbor-encoded-cert-21.
|
| COSEC509 |
The COSE_C509 structure (Section 3.4 of draft-ietf-cose-cbor-encoded-cert-21):
COSE_C509 = C509CertData / [ 2* C509CertData ]
C509CertData = bytes .cbor C509Certificate
a single certificate, or an array of two or more, each wrapped in a byte string so
a parser can skip over individual certificates.
|