public static class ProxyMessage.NewKeyControl extends ProxyMessage
NewKeyControl ::= SEQUENCE {
label UTF8 STRING,
id [0] OCTET STRING OPTIONAL,
keyUsages [1] SEQUENCE OF P11KEYUSAGE OPTIONAL,
extractable [2] EXPLICIT BOOLEAN OPTIONAL }
P11KEYUSAGE ::= ENUMERATED {
DECRYPT (0),
DERIVE (1),
SIGN (2),
SIGN_RECOVER (3),
UNWRAP (4)}
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 |
|---|
NewKeyControl(P11Slot.P11NewKeyControl control) |
| Modifier and Type | Method and Description |
|---|---|
P11Slot.P11NewKeyControl |
getControl() |
static ProxyMessage.NewKeyControl |
getInstance(Object obj) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
getOctetStringBytespublic NewKeyControl(P11Slot.P11NewKeyControl control)
public static ProxyMessage.NewKeyControl getInstance(Object obj) throws BadAsn1ObjectException
BadAsn1ObjectExceptionpublic org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Objectpublic P11Slot.P11NewKeyControl getControl()
Copyright © 2018. All rights reserved.