Certificate ::= SEQUENCE {
CertificateBody Iso7816CertificateBody,
signature DER Application specific
}
| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| private CertificateBody | |
| private byte[] | |
| private static int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | CVCertificate(ASN1InputStream
the byte stream to parse. aIS)Create an iso7816Certificate structure from an ASN1InputStream. |
| private | CVCertificate(ASN1TaggedObject
the ASN1TaggedObject object. appSpe)Create an iso7816Certificate structure from a ASN1TaggedObject. |
| public | CVCertificate(CertificateBody
the Iso7816CertificateBody object containing the body. body, byte[] the byte array containing the signature signature)Create an iso7816Certificate structure from a body and its signature. |
| Modifier and Type | Method and Description |
|---|---|
| public CertificationAuthorityReference | |
| public CertificateBody | |
| public int | Returns: the type of certificate (request or profile) value is either Iso7816CertificateBody.profileType or Iso7816CertificateBody.requestType. Any other value is not valid.
|
| public PackedDate | |
| public PackedDate | |
| public ASN1ObjectIdentifier | |
| public Flags | Returns: the bits corresponding the authorizations contained in the certificate See Iso7816CertificateHolderAuthorization static int for values
|
| public int | Returns: the bits corresponding to the role intented for the certificate See Iso7816CertificateHolderAuthorization static int for values
|
| public CertificateHolderReference | |
| public static CVCertificate | Returns: the Iso7816CertificateStructure represented by the byte stream.the Object to extract the certificate from. obj)Create an iso7816Certificate structure from an object. |
| public int | |
| public byte[] | |
| private void | |
| private void | setPrivateData(ASN1TaggedObject
is a ASN1TaggedObject object containing body and signature. appSpe)Sets the values of the certificate (body and signature). |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Method providing a primitive representation of this object suitable for encoding. |
| bodyValid | back to summary |
|---|---|
| private static int bodyValid | |
| certificateBody | back to summary |
|---|---|
| private CertificateBody certificateBody | |
| signature | back to summary |
|---|---|
| private byte[] signature | |
| signValid | back to summary |
|---|---|
| private static int signValid | |
| valid | back to summary |
|---|---|
| private int valid | |
| CVCertificate | back to summary |
|---|---|
| public CVCertificate(ASN1InputStream aIS) throws IOException Create an iso7816Certificate structure from an ASN1InputStream.
| |
| CVCertificate | back to summary |
|---|---|
| private CVCertificate(ASN1TaggedObject appSpe) throws IOException Create an iso7816Certificate structure from a ASN1TaggedObject.
| |
| CVCertificate | back to summary |
|---|---|
| public CVCertificate(CertificateBody body, byte[] signature) throws IOException Create an iso7816Certificate structure from a body and its signature.
| |
| getAuthorityReference | back to summary |
|---|---|
public CertificationAuthorityReference getAuthorityReference() throws IOException
| |
| getBody | back to summary |
|---|---|
| public CertificateBody getBody() Gives the body of the certificate.
| |
| getCertificateType | back to summary |
|---|---|
public int getCertificateType()
| |
| getEffectiveDate | back to summary |
|---|---|
public PackedDate getEffectiveDate() throws IOException
| |
| getExpirationDate | back to summary |
|---|---|
public PackedDate getExpirationDate() throws IOException
| |
| getHolderAuthorization | back to summary |
|---|---|
public ASN1ObjectIdentifier getHolderAuthorization() throws IOException
| |
| getHolderAuthorizationRights | back to summary |
|---|---|
public Flags getHolderAuthorizationRights() throws IOException
| |
| getHolderAuthorizationRole | back to summary |
|---|---|
public int getHolderAuthorizationRole() throws IOException
| |
| getHolderReference | back to summary |
|---|---|
public CertificateHolderReference getHolderReference() throws IOException
| |
| getInstance | back to summary |
|---|---|
| public static CVCertificate getInstance(Object obj) Create an iso7816Certificate structure from an object.
| |
| getRole | back to summary |
|---|---|
| public int getRole() throws IOException return a bits field coded on one byte. For signification of the several bit see Iso7816CertificateHolderAuthorization
| |
| getSignature | back to summary |
|---|---|
| public byte[] getSignature() Gives the signature of the whole body. Type of signature is given in the Iso7816CertificateBody.Iso7816PublicKey.ASN1ObjectIdentifier
| |
| initFrom | back to summary |
|---|---|
| private void initFrom(ASN1InputStream aIS) throws IOException | |
| setPrivateData | back to summary |
|---|---|
| private void setPrivateData(ASN1TaggedObject appSpe) throws IOException Sets the values of the certificate (body and signature).
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |