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, toByteArray
public 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 ICardTemplate
getSecretKeyCreateTemplate
in class CardTemplate
SecretKeyTemplate
public java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> getSecretKeyImportTemplate(SecretKey aKey)
getSecretKeyImportTemplate
in interface ICardTemplate
getSecretKeyImportTemplate
in class CardTemplate
SecretKeyTemplate
public void applyTemplate(SecretKeyTemplate template) throws SmartCardException
CardTemplate
applyTemplate
in interface ICardTemplate
applyTemplate
in class CardTemplate
SmartCardException
public java.lang.String[] getATRHashes()
public static void addATR(java.lang.String aATR)
Copyright © 2025. All rights reserved.