Package org.conscrypt
Class X509PublicKey
java.lang.Object
org.conscrypt.X509PublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
A simple but useless key class that holds X.509 public key information when
the appropriate KeyFactory for the key algorithm is not available.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
algorithm
-
encoded
private final byte[] encoded
-
-
Constructor Details
-
X509PublicKey
X509PublicKey(String algorithm, byte[] encoded)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
toString
-
hashCode
public int hashCode() -
equals
-