public class NCipherTemplate extends CardTemplate
| Modifier and Type | Field and Description |
|---|---|
static long |
CKK_SHA_1_HMAC |
static long |
CKK_SHA224_HMAC |
static long |
CKK_SHA256_HMAC |
static long |
CKK_SHA384_HMAC |
static long |
CKK_SHA512_HMAC |
static long |
CKM_NC_SHA_1_HMAC_KEY_GEN |
static long |
CKM_NC_SHA224_HMAC_KEY_GEN |
static long |
CKM_NC_SHA256_HMAC_KEY_GEN |
static long |
CKM_NC_SHA384_HMAC_KEY_GEN |
static long |
CKM_NC_SHA512_HMAC_KEY_GEN |
static long |
CKM_NCIPHER |
static long |
NFCK_VENDOR_NCIPHER |
cardType, mIslem, OZET_ALICI| Constructor and Description |
|---|
NCipherTemplate() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addATR(java.lang.String aATR) |
void |
applyTemplate(SecretKeyTemplate template)
apply template into card with specific attributes
|
java.lang.String[] |
getATRHashes() |
IPKCS11Ops |
getPKCS11Ops() |
java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> |
getSecretKeyCreateTemplate(SecretKey aKey) |
java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> |
getSecretKeyImportTemplate(SecretKey aKey) |
applyTemplate, getCardType, getCertificateTemplate, getCertSerialNumberTemplates, getPointValue, getRSAPrivateKeyCreateTemplate, getRSAPrivateKeyImportTemplate, getRSAPublicKeyCreateTemplate, getRSAPublicKeyImportTemplate, toByteArraypublic static final long CKK_SHA_1_HMAC
public static final long CKK_SHA256_HMAC
public static final long CKK_SHA384_HMAC
public static final long CKK_SHA512_HMAC
public static final long CKK_SHA224_HMAC
public static final long NFCK_VENDOR_NCIPHER
public static final long CKM_NCIPHER
public static final long CKM_NC_SHA_1_HMAC_KEY_GEN
public static final long CKM_NC_SHA224_HMAC_KEY_GEN
public static final long CKM_NC_SHA256_HMAC_KEY_GEN
public static final long CKM_NC_SHA384_HMAC_KEY_GEN
public static final long CKM_NC_SHA512_HMAC_KEY_GEN
public IPKCS11Ops getPKCS11Ops()
public java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> getSecretKeyCreateTemplate(SecretKey aKey)
getSecretKeyCreateTemplate in interface ICardTemplategetSecretKeyCreateTemplate in class CardTemplateSecretKeyTemplatepublic java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> getSecretKeyImportTemplate(SecretKey aKey)
getSecretKeyImportTemplate in interface ICardTemplategetSecretKeyImportTemplate in class CardTemplateSecretKeyTemplatepublic void applyTemplate(SecretKeyTemplate template) throws SmartCardException
CardTemplateapplyTemplate in interface ICardTemplateapplyTemplate in class CardTemplateSmartCardExceptionpublic java.lang.String[] getATRHashes()
public static void addATR(java.lang.String aATR)
Copyright © 2025. All rights reserved.