Class BCECPublicKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey
- All Implemented Interfaces:
Serializable,ECKey,ECPublicKey,Key,PublicKey,ECKey,ECPointEncoder,ECPublicKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCECPublicKey(String algorithm, ECPublicKeySpec spec, ProviderConfiguration configuration) BCECPublicKey(String algorithm, ECPublicKeyParameters params, ECParameterSpec spec, ProviderConfiguration configuration) BCECPublicKey(String algorithm, ECPublicKeyParameters params, ProviderConfiguration configuration) BCECPublicKey(String algorithm, ECPublicKeyParameters params, ECParameterSpec spec, ProviderConfiguration configuration) BCECPublicKey(String algorithm, BCECPublicKey key) BCECPublicKey(String algorithm, ECPublicKeySpec spec, ProviderConfiguration configuration) BCECPublicKey(ECPublicKey key, ProviderConfiguration configuration) -
Method Summary
-
Constructor Details
-
BCECPublicKey
-
BCECPublicKey
-
BCECPublicKey
-
BCECPublicKey
public BCECPublicKey(String algorithm, ECPublicKeyParameters params, ECParameterSpec spec, ProviderConfiguration configuration) -
BCECPublicKey
public BCECPublicKey(String algorithm, ECPublicKeyParameters params, ECParameterSpec spec, ProviderConfiguration configuration) -
BCECPublicKey
public BCECPublicKey(String algorithm, ECPublicKeyParameters params, ProviderConfiguration configuration) -
BCECPublicKey
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getParams
-
getParameters
Description copied from interface:ECKeyreturn a parameter specification representing the EC domain parameters for the key.- Specified by:
getParametersin interfaceECKey
-
getW
- Specified by:
getWin interfaceECPublicKey
-
getQ
Description copied from interface:ECPublicKeyreturn the public point Q- Specified by:
getQin interfaceECPublicKey
-
toString
-
setPointFormat
Description copied from interface:ECPointEncoderSet the formatting for encoding of points. If the String "UNCOMPRESSED" is passed in point compression will not be used. If the String "COMPRESSED" is passed point compression will be used. The default is "UNCOMPRESSED".- Specified by:
setPointFormatin interfaceECPointEncoder- Parameters:
style- the style to use.
-
equals
-
hashCode
public int hashCode()
-