equals(Object) and hashCode() methods be delegated efficiently
to the platform default implementations (especially important for compatibility of hashCode()
calculations). Those methods fall back to calling getEncoded() for third-party subclasses, and
this class allows us to avoid cloning the return value of getEncoded() for those callers.
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final CertificateEncodingException |
| Access | Constructor and Description |
|---|---|
| pack-priv | X509CertificateInternal(JcaJceHelper bcHelper, Certificate c, BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byte[] encoding, CertificateEncodingException exception)
|
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | getEncoded()
Implements abstract java. Returns the encoded form of this certificate. |
| encoding | back to summary |
|---|---|
| private final byte[] encoding | |
| exception | back to summary |
|---|---|
| private final CertificateEncodingException exception | |
| X509CertificateInternal | back to summary |
|---|---|
| pack-priv X509CertificateInternal(JcaJceHelper bcHelper, Certificate c, BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byte[] encoding, CertificateEncodingException exception) | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws CertificateEncodingException Implements abstract java. Doc from java. Returns the encoded form of this certificate. It is assumed that each certificate type would have only a single form of encoding; for example, X.509 certificates would be encoded as ASN.1 DER.
| |