public class POPOPrivKey
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
POPOPrivKey ::= CHOICE { thisMessage [0] BIT STRING, -- posession is proven in this message (which contains the private key itself (encrypted for the CA)) subsequentMessage [1] SubsequentMessage, -- possession will be proven in a subsequent message (INTEGER) dhMAC [2] BIT STRING } -- for keyAgreement (only), possession is proven in this message (which contains a MAC (over the DER-encoded value of the -- certReq parameter in CertReqMsg, which MUST include both subject and publicKey) based on a key derived from the end entity's -- private DH key and the CA's public DH key); the dhMAC value MUST be calculated as per the directions given in Appendix A. SubsequentMessage ::= INTEGER { encrCert (0), -- requests that resulting certificate be encrypted for the end entity (following which, POP will be proven in a confirmation message) challengeResp (1) } -- requests that CA engage in challenge-response exchange with end entity in order to prove private key possession
Constructor and Description |
---|
POPOPrivKey(org.bouncycastle.asn1.ASN1Encodable obj,
int tag) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.DERBitString |
getDhMAC() |
static POPOPrivKey |
getInstance(org.bouncycastle.asn1.ASN1Primitive obj) |
static POPOPrivKey |
getInstance(org.bouncycastle.asn1.ASN1TaggedObject tagObj,
boolean explicit) |
org.bouncycastle.asn1.ASN1Integer |
getSubsequentMessage() |
org.bouncycastle.asn1.DERBitString |
getThisMessage() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
java.lang.String |
toString() |
public org.bouncycastle.asn1.DERBitString getThisMessage()
public org.bouncycastle.asn1.ASN1Integer getSubsequentMessage()
public org.bouncycastle.asn1.DERBitString getDhMAC()
public static POPOPrivKey getInstance(org.bouncycastle.asn1.ASN1Primitive obj)
public static POPOPrivKey getInstance(org.bouncycastle.asn1.ASN1TaggedObject tagObj, boolean explicit)
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Agencia de Tecnología y Certificación Electrónica. All Rights Reserved.