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:
getAlgorithm
in interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getParams
-
getParameters
Description copied from interface:ECKey
return a parameter specification representing the EC domain parameters for the key.- Specified by:
getParameters
in interfaceECKey
-
getW
- Specified by:
getW
in interfaceECPublicKey
-
getQ
Description copied from interface:ECPublicKey
return the public point Q- Specified by:
getQ
in interfaceECPublicKey
-
toString
-
setPointFormat
Description copied from interface:ECPointEncoder
Set 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:
setPointFormat
in interfaceECPointEncoder
- Parameters:
style
- the style to use.
-
equals
-
hashCode
public int hashCode()
-