Top Description Interfaces Classes
module bcprov

Package org.bouncycastle.asn1.bc


ASN.1 classes specific to the Bouncy Castle APIs.

Interface Summary

Modifier and TypeInterface and Description
public interface
BCObjectIdentifiers

Object Identifiers belonging to iso.org.dod.internet.private.enterprise.legion-of-the-bouncy-castle (1.3.6.1.4.1.22554)

Class Summary

Modifier and TypeClass and Description
public class
EncryptedObjectStoreData

EncryptedObjectStoreData ::= SEQUENCE {
    encryptionAlgorithm AlgorithmIdentifier
    encryptedContent OCTET STRING
}
public class
EncryptedPrivateKeyData

    EncryptedPrivateKeyObjectData ::= SEQUENCE {
        encryptedPrivateKeyInfo EncryptedPrivateKeyInfo,
        certificates SEQUENCE OF Certificate
    }
public class
EncryptedSecretKeyData

    EncryptedSecretKeyData ::= SEQUENCE {
        keyEncryptionAlgorithm AlgorithmIdentifier,
        encryptedKeyData OCTET STRING
    }
public class
ExternalValue

Based on External Keys And Signatures For Use In Internet PKI draft-ounsworth-pq-external-pubkeys-00

 ExternalValue ::= SEQUENCE {
     location GeneralNames,    # MUST refer to a DER encoded SubjectPublicKeyInfo/Signature  (may be Base64)
     hashAlg AlgorithmIdentifier,
     hashVal OCTET STRING }
public class
LinkedCertificate

Extension to tie an alternate certificate to the containing certificate.

public class
ObjectData

ObjectData ::= SEQUENCE {
    type             INTEGER,
    identifier       UTF8String,
    creationDate     GeneralizedTime,
    lastModifiedDate GeneralizedTime,
    data             OCTET STRING,
    comment          UTF8String OPTIONAL
}
public class
ObjectDataSequence

ObjectDataSequence ::= SEQUENCE OF ObjectData
public class
ObjectStore

ObjectStore ::= SEQUENCE {
    CHOICE {
         encryptedObjectStoreData EncryptedObjectStoreData,
         objectStoreData ObjectStoreData
    }
    integrityCheck ObjectStoreIntegrityCheck
}
public class
ObjectStoreData

ObjectStoreData ::= SEQUENCE {
    version INTEGER.
public class
ObjectStoreIntegrityCheck

ObjectStoreIntegrityCheck ::= CHOICE {
    PbkdMacIntegrityCheck
    [0] EXPLICIT SignatureCheck
}
public class
PbkdMacIntegrityCheck

PbkdMacIntegrityCheck ::= SEQUENCE {
    macAlgorithm AlgorithmIdentifier,
    pbkdAlgorithm KeyDerivationFunc,
    mac OCTET STRING
}
public class
SecretKeyData

    SecretKeyData ::= SEQUENCE {
        keyAlgorithm OBJECT IDENTIFIER,
        keyBytes OCTET STRING
    }
public class
SignatureCheck

SignatureCheck ::= SEQUENCE {
       signatureAlgorithm   AlgorithmIdentifier,
       certificates         [0] EXPLICIT Certificates OPTIONAL,
       signatureValue       BIT STRING
}

Certificates ::= SEQUENCE OF Certificate