Package org.xipki.pkcs11.wrapper
Class PKCS11Key
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.PKCS11Key
-
public class PKCS11Key extends Object
PKCS#11 key- Author:
- Lijun Liao (xipki)
-
-
Field Summary
Fields Modifier and Type Field Description protected PKCS11KeyIdid
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanalwaysSensitive()Booleandecrypt()Booleanderive()BigIntegerdsaBase()BigIntegerdsaPrime()BigIntegerdsaSubprime()IntegerecOrderBitSize()byte[]ecParams()byte[]ecPublicPoint()Booleanencrypt()Booleanextractable()PKCS11KeyIdid()BooleanneverExtractable()Booleanprivate_()BigIntegerrsaModulus()BigIntegerrsaPublicExponent()Booleansensitive()Booleansign()BooleansignRecover()Booleantrusted()Booleanunwrap()IntegervalueLen()Booleanverify()BooleanverifyRecover()Booleanwrap()BooleanwrapWithTrusted()
-
-
-
Field Detail
-
id
protected final PKCS11KeyId id
-
-
Method Detail
-
id
public PKCS11KeyId id()
-
sign
public Boolean sign()
-
verify
public Boolean verify()
-
encrypt
public Boolean encrypt()
-
decrypt
public Boolean decrypt()
-
derive
public Boolean derive()
-
signRecover
public Boolean signRecover()
-
verifyRecover
public Boolean verifyRecover()
-
wrap
public Boolean wrap()
-
unwrap
public Boolean unwrap()
-
extractable
public Boolean extractable()
-
neverExtractable
public Boolean neverExtractable()
-
private_
public Boolean private_()
-
wrapWithTrusted
public Boolean wrapWithTrusted()
-
sensitive
public Boolean sensitive()
-
alwaysSensitive
public Boolean alwaysSensitive()
-
trusted
public Boolean trusted()
-
valueLen
public Integer valueLen()
-
ecParams
public byte[] ecParams()
-
ecOrderBitSize
public Integer ecOrderBitSize()
-
ecPublicPoint
public byte[] ecPublicPoint()
-
rsaModulus
public BigInteger rsaModulus()
-
rsaPublicExponent
public BigInteger rsaPublicExponent()
-
dsaPrime
public BigInteger dsaPrime()
-
dsaSubprime
public BigInteger dsaSubprime()
-
dsaBase
public BigInteger dsaBase()
-
-