public class JCEHsmPkcs11PrivateKey
extends java.lang.Object
implements java.security.interfaces.ECPrivateKey
Modifier and Type | Field and Description |
---|---|
private long |
mechanismId |
private long |
privateKey |
private int |
publicKeyLen |
private long |
session |
private java.lang.Object |
syncObject |
Constructor and Description |
---|
JCEHsmPkcs11PrivateKey(long session,
long privateKey,
long mechanismId,
int publicKeyLen) |
JCEHsmPkcs11PrivateKey(long session,
long privateKey,
long mechanismId,
int publicKeyLen,
java.lang.Object syncObject) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
long |
getMechanismId() |
java.security.spec.ECParameterSpec |
getParams() |
long |
getPrivateKey() |
int |
getPublicKeyLen() |
java.math.BigInteger |
getS() |
long |
getSession() |
java.lang.Object |
getSyncObject() |
boolean |
isSynchronized() |
private long session
private long privateKey
private long mechanismId
private int publicKeyLen
private java.lang.Object syncObject
public JCEHsmPkcs11PrivateKey(long session, long privateKey, long mechanismId, int publicKeyLen, java.lang.Object syncObject)
public JCEHsmPkcs11PrivateKey(long session, long privateKey, long mechanismId, int publicKeyLen)
public long getSession()
public long getPrivateKey()
public long getMechanismId()
public int getPublicKeyLen()
public boolean isSynchronized()
public java.lang.Object getSyncObject()
public java.math.BigInteger getS()
getS
in interface java.security.interfaces.ECPrivateKey
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.security.spec.ECParameterSpec getParams()
getParams
in interface java.security.interfaces.ECKey
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.