public static class ProxyMessage.ImportSecretKeyParams extends ProxyMessage
ImportSecretKeyParams ::= SEQUENCE {
slotId P11SlotIdentifier,
control NewKeyControl,
keyType INTEGER,
keyValue OCTET STRING}
ProxyMessage.AddCertParams, ProxyMessage.DigestSecretKeyTemplate, ProxyMessage.GenDSAKeypairParams, ProxyMessage.GenECEdwardsOrMontgomeryKeypairParams, ProxyMessage.GenECKeypairParams, ProxyMessage.GenRSAKeypairParams, ProxyMessage.GenSecretKeyParams, ProxyMessage.GenSM2KeypairParams, ProxyMessage.IdentityId, ProxyMessage.ImportSecretKeyParams, ProxyMessage.Mechanism, ProxyMessage.NewKeyControl, ProxyMessage.NewObjectControl, ProxyMessage.ObjectIdAndCert, ProxyMessage.ObjectIdentifier, ProxyMessage.ObjectIdentifiers, ProxyMessage.P11Params, ProxyMessage.RemoveObjectsParams, ProxyMessage.RSAPkcsPssParams, ProxyMessage.ServerCaps, ProxyMessage.SignTemplate, ProxyMessage.SlotIdAndObjectId, ProxyMessage.SlotIdentifier| Constructor and Description |
|---|
ImportSecretKeyParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control,
long keyType,
byte[] keyValue) |
| Modifier and Type | Method and Description |
|---|---|
P11Slot.P11NewKeyControl |
getControl() |
static ProxyMessage.ImportSecretKeyParams |
getInstance(Object obj) |
long |
getKeyType() |
byte[] |
getKeyValue() |
P11SlotIdentifier |
getSlotId() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
getOctetStringBytespublic ImportSecretKeyParams(P11SlotIdentifier slotId, P11Slot.P11NewKeyControl control, long keyType, byte[] keyValue)
public static ProxyMessage.ImportSecretKeyParams getInstance(Object obj) throws BadAsn1ObjectException
BadAsn1ObjectExceptionpublic org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Objectpublic P11SlotIdentifier getSlotId()
public P11Slot.P11NewKeyControl getControl()
public long getKeyType()
public byte[] getKeyValue()
Copyright © 2019. All rights reserved.