public class SM2PrivateKey extends ECPrivateKey
Key.KeyType, Key.VendorDefinedKeyBuilderPKCS11Object.ObjectClass, PKCS11Object.VendorDefinedObjectBuilderecdsaParams, valuealwaysAuthenticate, alwaysSensitive, authPinFlags, decrypt, extractable, neverExtractable, secondaryAuth, sensitive, sign, signRecover, subject, unwrap, unwrapTemplate, wrapWithTrustedallowedMechanisms, derive, endDate, id, keyGenMechanism, keyType, keyTypeNames, local, startDate, vendorKeyBuilderlabel, modifiable, private_, tokenattributeTable, objectClass, objectClassNames, objectHandle, vendorObjectBuilder| Modifier | Constructor and Description |
|---|---|
|
SM2PrivateKey() |
protected |
SM2PrivateKey(Session session,
long objectHandle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object.
|
protected Long |
thisKeyType() |
allocateAttributes, getEcdsaParams, getInstance, getValue, putAttributesInTable, readAttributes, toStringgetAlwaysAuthenticate, getAlwaysSensitive, getAuthPinFlags, getDecrypt, getExtractable, getNeverExtractable, getSecondaryAuth, getSensitive, getSign, getSignRecover, getSubject, getUnknownPrivateKey, getUnwrap, getUnwrapTemplate, getWrapWithTrusted, putAttributesInTablegetAllowedMechanisms, getDerive, getEndDate, getId, getKeyGenMechanism, getKeyType, getKeyTypeName, getLocal, getStartDate, getVendorDefinedKeyBuilder, hashCode, putAttributesInTable, setVendorDefinedKeyBuildergetLabel, getModifiable, getPrivate, getToken, putAttributesInTablegetAttribute, getAttributeTable, getAttributeValue, getAttributeValues, getObjectClass, getObjectClassName, getObjectHandle, getSetAttributes, getSetAttributes, getUnknownObject, getVendorDefinedObjectBuilder, putAttribute, putAttributesInTable, removeAttribute, setObjectHandle, setVendorDefinedObjectBuilder, toStringpublic SM2PrivateKey()
protected SM2PrivateKey(Session session, long objectHandle) throws TokenException
TokenExceptionprotected Long thisKeyType()
thisKeyType in class ECPrivateKeypublic boolean equals(Object otherObject)
equals in class ECPrivateKeyotherObject - The other object to compare to.Copyright © 2018. All rights reserved.