This class is an implementation of X509Certificate. It wraps
the instance of org.apache.harmony.security.x509.Certificate
built on the base of provided ASN.1 DER encoded form of
Certificate structure (as specified in RFC 3280
http://www.ietf.org/rfc/rfc3280.txt).
See Also:org.apache.harmony.security.x509.Certificate See Also:java.security.cert.X509Certificate
Constructor Summary
public
X509CertImpl(InputStream in) Constructs the instance on the base of ASN.1 encoded
form of X.509 certificate provided via stream parameter.
public
X509CertImpl(Certificate certificate) Constructs the instance on the base of existing Certificate object to
be wrapped.
public
X509CertImpl(byte[] encoding) Constructs the instance on the base of ASN.1 encoded
form of X.509 certificate provided via array of bytes.
Constructs the instance on the base of ASN.1 encoded
form of X.509 certificate provided via stream parameter.
Parameters: in - input stream containing ASN.1 encoded form of certificate. throws: CertificateException - if some decoding problems occur.
Constructs the instance on the base of ASN.1 encoded
form of X.509 certificate provided via array of bytes.
Parameters: encoding - byte array containing ASN.1 encoded form of certificate. throws: IOException - if some decoding problems occur.