Constructor and Description |
---|
CertOrEncCert(byte[] encodedCert) |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
public static final Tag TAG
public CertOrEncCert(byte[] encodedCert) throws java.io.IOException, InvalidBERException
InvalidBERException
- If the certificate is not a valid
BER-encoding.java.io.IOException
public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value