CertificateBody ::= SEQUENCE {
// version of the certificate format. Must be 0 (version 1)
CertificateProfileIdentifer ASN1TaggedObject,
// uniquely identifies the issuing CA's signature key pair
// contains the iso3166-1 alpha2 encoded country code, the
// name of issuer and the sequence number of the key pair.
CertificationAuthorityReference ASN1TaggedObject,
// stores the encoded public key
PublicKey Iso7816PublicKey,
// associates the public key contained in the certificate with a unique name
// contains the iso3166-1 alpha2 encoded country code, the
// name of the holder and the sequence number of the key pair.
certificateHolderReference ASN1TaggedObject,
// Encodes the role of the holder (i.e. CVCA, DV, IS) and assigns read/write
// access rights to data groups storing sensitive data
certificateHolderAuthorization Iso7816CertificateHolderAuthorization,
// the date of the certificate generation
CertificateEffectiveDate ASN1TaggedObject,
// the date after which the certificate expires
certificateExpirationDate ASN1TaggedObject
}
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private ASN1TaggedObject | |
| private ASN1TaggedObject | |
| private CertificateHolderAuthorization | |
| private ASN1TaggedObject | |
| private ASN1TaggedObject | |
| private int | |
| private ASN1TaggedObject | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| public static final int | profileType
Deprecated
|
| private static final int | |
| private static final int | |
| private PublicKeyDataObject | |
| public static final int | requestType
Deprecated
|
| private static final int | |
| private static final int | |
| pack-priv ASN1InputStream |
| Access | Constructor and Description |
|---|---|
| public | CertificateBody(ASN1TaggedObject certificateProfileIdentifier, CertificationAuthorityReference certificationAuthorityReference, PublicKeyDataObject publicKey, CertificateHolderReference certificateHolderReference, CertificateHolderAuthorization certificateHolderAuthorization, PackedDate certificateEffectiveDate, PackedDate certificateExpirationDate)
builds an Iso7816CertificateBody by settings each parameters. |
| private | CertificateBody(ASN1TaggedObject
ASN1TaggedObject containing the whole body. obj)builds an Iso7816CertificateBody with an ASN1InputStream. |
| Modifier and Type | Method and Description |
|---|---|
| public PackedDate | |
| public PackedDate | |
| public CertificateHolderAuthorization | Returns: the Iso7816CertificateHolderAuthorizationthe Iso7816CertificateHolderAuthorization encodes the role of the holder (i.e. CVCA, DV, IS) and assigns read/write access rights to data groups storing sensitive data. |
| public CertificateHolderReference | Returns: the certificateHolderReference.certificateHolderReference : associates the public key contained in the certificate with a unique name |
| public ASN1TaggedObject | Returns: the CertificateProfileIdentifierCertificateProfileIdentifier : version of the certificate format. |
| public int | Returns: the int representing the data already set.gives the type of the certificate (value should be profileType or requestType if all data are set). |
| public CertificationAuthorityReference | Returns: the certificationAuthorityReferenceget the certificationAuthorityReference certificationAuthorityReference : uniquely identifies the issuing CA's signature key pair |
| public static CertificateBody | Returns: the Iso7816CertificateBody taken from Object obj.is the Object to extract the certificate body from. obj)Gives an instance of Iso7816CertificateBody taken from Object obj |
| public PublicKeyDataObject | |
| private ASN1Primitive | Returns: return the "profile" type certificate body.create a profile type Iso7816CertificateBody. |
| private ASN1Primitive | Returns: return the "request" type certificate body.create a request type Iso7816CertificateBody. |
| private void | setCertificateEffectiveDate(ASN1TaggedObject
ASN1TaggedObject containing the date of the certificate generation ced)set the date of the certificate generation |
| private void | setCertificateExpirationDate(ASN1TaggedObject
ASN1TaggedObject containing the date after which the certificate expires ced)set the date after which the certificate expires |
| private void | setCertificateHolderAuthorization(CertificateHolderAuthorization
the Certificate Holder Authorization cha)set the CertificateHolderAuthorization |
| private void | |
| private void | |
| private void | setCertificationAuthorityReference(ASN1TaggedObject
the ASN1TaggedObject containing the CertificationAuthorityReference. certificationAuthorityReference)set the CertificationAuthorityReference. |
| private void | |
| private void | setPublicKey(PublicKeyDataObject
: the ASN1TaggedObject containing the public key publicKey)set the public Key |
| public ASN1Primitive | Returns: return the ASN1Primitive representing the "request" or "profile" type certificate body.Implements abstract org. Implements org. create a "request" or "profile" type Iso7816CertificateBody according to the variables sets. |
| CAR | back to summary |
|---|---|
| private static final int CAR | |
| CEfD | back to summary |
|---|---|
| private static final int CEfD | |
| certificateEffectiveDate | back to summary |
|---|---|
| private ASN1TaggedObject certificateEffectiveDate | |
| certificateExpirationDate | back to summary |
|---|---|
| private ASN1TaggedObject certificateExpirationDate | |
| certificateHolderAuthorization | back to summary |
|---|---|
| private CertificateHolderAuthorization certificateHolderAuthorization | |
| certificateHolderReference | back to summary |
|---|---|
| private ASN1TaggedObject certificateHolderReference | |
| certificateProfileIdentifier | back to summary |
|---|---|
| private ASN1TaggedObject certificateProfileIdentifier | |
| certificateType | back to summary |
|---|---|
| private int certificateType | |
| certificationAuthorityReference | back to summary |
|---|---|
| private ASN1TaggedObject certificationAuthorityReference | |
| CExD | back to summary |
|---|---|
| private static final int CExD | |
| CHA | back to summary |
|---|---|
| private static final int CHA | |
| CHR | back to summary |
|---|---|
| private static final int CHR | |
| CPI | back to summary |
|---|---|
| private static final int CPI | |
| PK | back to summary |
|---|---|
| private static final int PK | |
| profileType | back to summary |
|---|---|
| public static final int profileType
Deprecated
| |
| profileType_m | back to summary |
|---|---|
| private static final int profileType_m | |
| profileType_r | back to summary |
|---|---|
| private static final int profileType_r | |
| publicKey | back to summary |
|---|---|
| private PublicKeyDataObject publicKey | |
| requestType | back to summary |
|---|---|
| public static final int requestType
Deprecated
| |
| requestType_m | back to summary |
|---|---|
| private static final int requestType_m | |
| requestType_r | back to summary |
|---|---|
| private static final int requestType_r | |
| seq | back to summary |
|---|---|
| pack-priv ASN1InputStream seq | |
| CertificateBody | back to summary |
|---|---|
| public CertificateBody(ASN1TaggedObject certificateProfileIdentifier, CertificationAuthorityReference certificationAuthorityReference, PublicKeyDataObject publicKey, CertificateHolderReference certificateHolderReference, CertificateHolderAuthorization certificateHolderAuthorization, PackedDate certificateEffectiveDate, PackedDate certificateExpirationDate) builds an Iso7816CertificateBody by settings each parameters. | |
| CertificateBody | back to summary |
|---|---|
| private CertificateBody(ASN1TaggedObject obj) throws IOException builds an Iso7816CertificateBody with an ASN1InputStream.
| |
| getCertificateEffectiveDate | back to summary |
|---|---|
public PackedDate getCertificateEffectiveDate()
| |
| getCertificateExpirationDate | back to summary |
|---|---|
public PackedDate getCertificateExpirationDate() throws IOException
| |
| getCertificateHolderAuthorization | back to summary |
|---|---|
| public CertificateHolderAuthorization getCertificateHolderAuthorization() throws IOException the Iso7816CertificateHolderAuthorization encodes the role of the holder (i.e. CVCA, DV, IS) and assigns read/write access rights to data groups storing sensitive data. This functions returns the Certificate Holder Authorization
| |
| getCertificateHolderReference | back to summary |
|---|---|
| public CertificateHolderReference getCertificateHolderReference() certificateHolderReference : associates the public key contained in the certificate with a unique name
| |
| getCertificateProfileIdentifier | back to summary |
|---|---|
| public ASN1TaggedObject getCertificateProfileIdentifier() CertificateProfileIdentifier : version of the certificate format. Must be 0 (version 1)
| |
| getCertificateType | back to summary |
|---|---|
| public int getCertificateType() gives the type of the certificate (value should be profileType or requestType if all data are set).
| |
| getCertificationAuthorityReference | back to summary |
|---|---|
| public CertificationAuthorityReference getCertificationAuthorityReference() throws IOException get the certificationAuthorityReference certificationAuthorityReference : uniquely identifies the issuing CA's signature key pair
| |
| getInstance | back to summary |
|---|---|
| public static CertificateBody getInstance(Object obj) throws IOException Gives an instance of Iso7816CertificateBody taken from Object obj
| |
| getPublicKey | back to summary |
|---|---|
public PublicKeyDataObject getPublicKey()
| |
| profileToASN1Object | back to summary |
|---|---|
| private ASN1Primitive profileToASN1Object() throws IOException create a profile type Iso7816CertificateBody.
| |
| requestToASN1Object | back to summary |
|---|---|
| private ASN1Primitive requestToASN1Object() throws IOException create a request type Iso7816CertificateBody.
| |
| setCertificateEffectiveDate | back to summary |
|---|---|
| private void setCertificateEffectiveDate(ASN1TaggedObject ced) throws IllegalArgumentException set the date of the certificate generation
| |
| setCertificateExpirationDate | back to summary |
|---|---|
| private void setCertificateExpirationDate(ASN1TaggedObject ced) throws IllegalArgumentException set the date after which the certificate expires
| |
| setCertificateHolderAuthorization | back to summary |
|---|---|
| private void setCertificateHolderAuthorization(CertificateHolderAuthorization cha) set the CertificateHolderAuthorization
| |
| setCertificateHolderReference | back to summary |
|---|---|
| private void setCertificateHolderReference(ASN1TaggedObject certificateHolderReference) throws IllegalArgumentException | |
| setCertificateProfileIdentifier | back to summary |
|---|---|
| private void setCertificateProfileIdentifier(ASN1TaggedObject certificateProfileIdentifier) throws IllegalArgumentException | |
| setCertificationAuthorityReference | back to summary |
|---|---|
| private void setCertificationAuthorityReference(ASN1TaggedObject certificationAuthorityReference) throws IllegalArgumentException set the CertificationAuthorityReference.
| |
| setIso7816CertificateBody | back to summary |
|---|---|
| private void setIso7816CertificateBody(ASN1TaggedObject appSpe) throws IOException | |
| setPublicKey | back to summary |
|---|---|
| private void setPublicKey(PublicKeyDataObject publicKey) set the public Key
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. create a "request" or "profile" type Iso7816CertificateBody according to the variables sets.
| |