PrivateKeyEC¶
- public class PrivateKeyEC extends PrivateKey implements java.security.interfaces.ECPrivateKey¶
Class describes an EC private key object. Inherits from
PrivateKey
and implementsjava.security.interfaces.ECPrivateKey
.Note that the constructor is not intended to be called by user code. Such objects are constructed internally by the API.
Methods¶
getAlgorithm¶
getEncoded¶
- public byte[] getEncoded()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.
getFormat¶
getParams¶
- public ECParameterSpec getParams()¶
Gets the elliptic curve parameters.
- Returns:
the elliptic curve parameters.
getS¶
- public BigInteger getS()¶
The private key is not extractable from the card, thus this method is not available.
- Throws:
ProviderException
– always.