public static class ProxyMessage.GenSecretKeyParams extends ProxyMessage
GenSecretKeyParams ::= SEQUENCE {
slotId P11SlotIdentifier,
control NewKeyControl,
keyType INTEGER,
keysize INTEGER }
ProxyMessage.AddCertParams, ProxyMessage.DigestSecretKeyTemplate, ProxyMessage.GenDSAKeypairParams, 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 |
|---|
GenSecretKeyParams(P11SlotIdentifier slotId,
P11Slot.P11NewKeyControl control,
long keyType,
int keysize) |
| Modifier and Type | Method and Description |
|---|---|
P11Slot.P11NewKeyControl |
getControl() |
static ProxyMessage.GenSecretKeyParams |
getInstance(Object obj) |
int |
getKeysize() |
long |
getKeyType() |
P11SlotIdentifier |
getSlotId() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
getOctetStringBytespublic GenSecretKeyParams(P11SlotIdentifier slotId, P11Slot.P11NewKeyControl control, long keyType, int keysize)
public static ProxyMessage.GenSecretKeyParams 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 int getKeysize()
Copyright © 2018. All rights reserved.