Package org.conscrypt
Class OpenSSLKey
java.lang.Object
org.conscrypt.OpenSSLKey
Represents a BoringSSL
EVP_PKEY.-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OpenSSLKeyParse a public key in PEM encoding from the provided input stream.inthashCode()
-
Method Details
-
fromPublicKeyPemInputStream
Parse a public key in PEM encoding from the provided input stream.- Throws:
InvalidKeyException- if parsing fails
-
getPublicKey
- Throws:
NoSuchAlgorithmException
-
equals
-
hashCode
public int hashCode()
-