| Package | Description | 
|---|---|
| java.security.cert | Provides classes and interfaces for parsing and managing
 certificates, certificate revocation lists (CRLs), and
 certification paths. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract byte[] | Certificate. getEncoded()Returns the encoded form of this certificate. | 
| abstract byte[] | CertPath. getEncoded()Returns the encoded form of this certification path, using the default
 encoding. | 
| abstract byte[] | CertPath. getEncoded(String encoding)Returns the encoded form of this certification path, using the
 specified encoding. | 
| abstract byte[] | X509Certificate. getTBSCertificate()Gets the DER-encoded certificate information, the
  tbsCertificatefrom this certificate. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.