PublicKeyEC

public class PublicKeyEC extends PublicKey implements java.security.interfaces.ECPublicKey

Class describes a public key object. Inherits from PublicKey and implements java.security.interfaces.ECPublicKey.

Note that the constructor is not intended to be called by user code. Such objects are constructed internally by the API.

Methods

getAlgorithm

public String getAlgorithm()

Returns algorithm of key, which is "EC".

Returns:

"EC".

getEncoded

public byte[] getEncoded()

Specified by:

ECPublicKey.getEncoded() in java.security.interfaces.ECPublicKey interface.

getFormat

public String getFormat()

Specified by:

ECPublicKey.getFormat() in java.security.interfaces.ECPublicKey interface.

getParams

public ECParameterSpec getParams()

Specified by:

ECPublicKey.getParams() in java.security.interfaces.ECPublicKey interface.

getW

public ECPoint getW()

Specified by:

ECPublicKey.getW() in java.security.interfaces.ECPublicKey interface.