Class MTCCertificationAuthority

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.MTCCertificationAuthority
All Implemented Interfaces:
ASN1Encodable, Encodable

public class MTCCertificationAuthority extends ASN1Object
ASN.1 structure for the id-pe-mtcCertificationAuthority-SHA256 extension defined in Section 5.5 of draft-ietf-plants-merkle-tree-certs:
-- This is 2^48, the minimum possible serial number in this protocol.
mtcMinSerial INTEGER ::= 281474976710656

-- This is 2^64-1, the maximum possible serial number in this protocol.
mtcMaxSerial INTEGER ::= 18446744073709551615

MTCCertificationAuthority ::= SEQUENCE {
    sigAlg    AlgorithmIdentifier{SIGNATURE-ALGORITHM, {...}},
    minSerial INTEGER (mtcMinSerial..mtcMaxSerial),
    maxSerial INTEGER (mtcMinSerial..mtcMaxSerial)
}

sigAlg is the CA cosigner's signature algorithm. minSerial and maxSerial are the inclusive bounds of the cert serial range this CA is authorized for; per Section 6.2 of the draft a serial encodes the log number in its upper 16 bits and the entry index in the lower 48 bits (a 64-bit value), so the range can constrain either. The hash function used by the CA's issuance logs is not a field of the structure: it is identified by the extension type, id-pe-mtcCertificationAuthority-SHA256 for SHA-256 (draft-06 moved it out of the structure and into the OID).