public class ECKeyTemplate extends AsymmKeyTemplate<java.security.spec.ECParameterSpec>
Description:
| Modifier and Type | Field and Description |
|---|---|
protected java.security.MessageDigest |
OZET_ALICI |
protected boolean |
secretECCurve |
specattributes, keyId, label, logger| Constructor and Description |
|---|
ECKeyTemplate(java.lang.String label,
java.security.spec.ECParameterSpec spec) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
ECKeyTemplate |
getAsExplicitECParameters() |
ECKeyTemplate |
getAsExtractableTemplate()
converts as Extractable RSA Private Key Template, adding:
|
ECKeyTemplate |
getAsSecretECCurve(boolean isSecretECCurve) |
ECKeyTemplate |
getAsTokenOrSessionTemplate(boolean isToken) |
protected void |
initECParamsAttribute(java.security.spec.ECParameterSpec ecParameterSpec) |
void |
initializeIDField(java.security.spec.ECParameterSpec paramspec,
java.security.spec.ECPoint ecPoint) |
void |
initializeIDField(java.security.interfaces.ECPublicKey ecPublicKey) |
boolean |
isSecretECCurve() |
getSpecadd, containsAttribute, getAttribute, getAttributes, getAttributesAsArr, getEncoded, getFormat, getKeyId, getLabel, remove, setKeyIdprotected java.security.MessageDigest OZET_ALICI
protected boolean secretECCurve
public ECKeyTemplate(java.lang.String label,
java.security.spec.ECParameterSpec spec)
protected void initECParamsAttribute(java.security.spec.ECParameterSpec ecParameterSpec)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getAlgorithm()
public ECKeyTemplate getAsExtractableTemplate()
CK_ATTRIBUTE(CKA_TOKEN, false)
CK_ATTRIBUTE(CKA_EXTRACTABLE, true)
public ECKeyTemplate getAsTokenOrSessionTemplate(boolean isToken)
public ECKeyTemplate getAsExplicitECParameters() throws SmartCardException
SmartCardExceptionpublic void initializeIDField(java.security.interfaces.ECPublicKey ecPublicKey)
public void initializeIDField(java.security.spec.ECParameterSpec paramspec,
java.security.spec.ECPoint ecPoint)
public ECKeyTemplate getAsSecretECCurve(boolean isSecretECCurve)
public boolean isSecretECCurve()
Copyright © 2025. All rights reserved.