| Package | Description | 
|---|---|
| javax.net.ssl | Provides classes for the secure socket package. | 
| javax.security.cert | Provides classes for public key certificates. | 
| Modifier and Type | Method and Description | 
|---|---|
| X509Certificate[] | HandshakeCompletedEvent. getPeerCertificateChain()Returns the identity of the peer which was identified as part
 of defining the session. | 
| X509Certificate[] | SSLSession. getPeerCertificateChain()Returns the identity of the peer which was identified as part
 of defining the session. | 
| Modifier and Type | Method and Description | 
|---|---|
| static X509Certificate | X509Certificate. getInstance(byte[] certData)Instantiates an X509Certificate object, and initializes it with
 the specified byte array. | 
| static X509Certificate | X509Certificate. getInstance(InputStream inStream)Instantiates an X509Certificate object, and initializes it with
 the data read from the input stream  inStream. | 
 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, 2015, Oracle and/or its affiliates.  All rights reserved.