Package org.conscrypt
Class OpenSSLRSAPublicKey
- java.lang.Object
-
- org.conscrypt.OpenSSLRSAPublicKey
-
- All Implemented Interfaces:
Serializable,RSAKey,RSAPublicKey,Key,PublicKey,OpenSSLKeyHolder
@Internal public class OpenSSLRSAPublicKey extends Object implements RSAPublicKey, OpenSSLKeyHolder
An implementation ofPublicKeyfor RSA keys which uses BoringSSL to perform all the operations.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAlgorithm()byte[]getEncoded()StringgetFormat()BigIntegergetModulus()org.conscrypt.OpenSSLKeygetOpenSSLKey()BigIntegergetPublicExponent()inthashCode()StringtoString()
-
-
-
Method Detail
-
getOpenSSLKey
public org.conscrypt.OpenSSLKey getOpenSSLKey()
- Specified by:
getOpenSSLKeyin interfaceOpenSSLKeyHolder
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
getModulus
public BigInteger getModulus()
- Specified by:
getModulusin interfaceRSAKey
-
getPublicExponent
public BigInteger getPublicExponent()
- Specified by:
getPublicExponentin interfaceRSAPublicKey
-
-