Package org.mozilla.jss.pkcs11
Class PK11ECPublicKey
- java.lang.Object
-
- org.mozilla.jss.pkcs11.PK11PubKey
-
- org.mozilla.jss.pkcs11.PK11ECPublicKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.AutoCloseable
,java.security.interfaces.ECKey
,java.security.interfaces.ECPublicKey
,java.security.Key
,java.security.PublicKey
public final class PK11ECPublicKey extends PK11PubKey implements java.security.interfaces.ECPublicKey
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.mozilla.jss.pkcs11.KeyProxy
keyProxy
-
Constructor Summary
Constructors Constructor Description PK11ECPublicKey(byte[] pointer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
finalize()
byte[]
getCurveBA()
java.security.spec.ECParameterSpec
getParams()
java.security.spec.ECPoint
getW()
byte[]
getWByteArray()
-
Methods inherited from class org.mozilla.jss.pkcs11.PK11PubKey
fromRaw, fromSPKI, getAlgorithm, getEncoded, getFormat, getKeyType, verifyKeyIsOnToken
-
-
-
-
Method Detail
-
getParams
public java.security.spec.ECParameterSpec getParams()
- Specified by:
getParams
in interfacejava.security.interfaces.ECKey
-
getCurveBA
public byte[] getCurveBA()
-
getW
public java.security.spec.ECPoint getW()
- Specified by:
getW
in interfacejava.security.interfaces.ECPublicKey
-
getWByteArray
public byte[] getWByteArray()
-
finalize
public void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-