public class AkisTemplate extends CardTemplate
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.String> |
ATR_HASHES |
protected static long |
CKA_SENSITIVE_EC_PARAMS |
static java.util.List<java.lang.String> |
HISTORICAL_BYTE_REGEXES |
protected static org.slf4j.Logger |
logger |
cardType, mIslem, OZET_ALICI| Constructor and Description |
|---|
AkisTemplate(CardType aCardType)
Create Akis template
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addATR(java.lang.String aATR)
Add ATR hash to template's hashes
|
void |
applyTemplate(KeyPairTemplate template)
apply template into card with specific attributes
|
java.lang.String[] |
getATRHashes()
Returns ATR hashes of template as string
|
java.util.List<java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE>> |
getCertSerialNumberTemplates(byte[] aSerialNumber) |
IPKCS11Ops |
getPKCS11Ops() |
java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> |
getRSAPublicKeyImportTemplate(java.lang.String aLabel,
java.security.interfaces.RSAPrivateCrtKey aPrivKey,
java.security.cert.X509Certificate aCert,
boolean aIsSign,
boolean aIsEncrypt) |
static boolean |
isAkisATR(java.lang.String atrHex) |
applyTemplate, getCardType, getCertificateTemplate, getPointValue, getRSAPrivateKeyCreateTemplate, getRSAPrivateKeyImportTemplate, getRSAPublicKeyCreateTemplate, getSecretKeyCreateTemplate, getSecretKeyImportTemplate, toByteArrayprotected static org.slf4j.Logger logger
protected static long CKA_SENSITIVE_EC_PARAMS
public static java.util.List<java.lang.String> ATR_HASHES
public static java.util.List<java.lang.String> HISTORICAL_BYTE_REGEXES
public AkisTemplate(CardType aCardType)
aCardType - public IPKCS11Ops getPKCS11Ops()
public static boolean isAkisATR(java.lang.String atrHex)
public java.util.List<java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE>> getCertSerialNumberTemplates(byte[] aSerialNumber)
getCertSerialNumberTemplates in interface ICardTemplategetCertSerialNumberTemplates in class CardTemplatepublic java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> getRSAPublicKeyImportTemplate(java.lang.String aLabel,
java.security.interfaces.RSAPrivateCrtKey aPrivKey,
java.security.cert.X509Certificate aCert,
boolean aIsSign,
boolean aIsEncrypt)
getRSAPublicKeyImportTemplate in interface ICardTemplategetRSAPublicKeyImportTemplate in class CardTemplateAsymmKeyTemplatepublic void applyTemplate(KeyPairTemplate template) throws SmartCardException
CardTemplateapplyTemplate in interface ICardTemplateapplyTemplate in class CardTemplateSmartCardExceptionpublic java.lang.String[] getATRHashes()
public static void addATR(java.lang.String aATR)
aATR - StringCopyright © 2025. All rights reserved.