public class POPOSigningKey
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
POPOSigningKey ::= SEQUENCE { poposkInput [0] POPOSigningKeyInput OPTIONAL, algorithmIdentifier AlgorithmIdentifier, signature BIT STRING } -- The signature (using "algorithmIdentifier") is on the DER-encoded value of poposkInput. NOTE: If the CertReqMsg -- certReq CertTemplate contains the subject and publicKey values, then poposkInput MUST be omitted and the signature MUST be -- computed on the DER-encoded value of CertReqMsg certReq. If the CertReqMsg certReq CertTemplate does not contain the public -- key and subject values, then poposkInput MUST be present and MUST be signed. This strategy ensures that the public key is -- not present in both the poposkInput and CertReqMsg certReq CertTemplate fields.
Constructor and Description |
---|
POPOSigningKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
org.bouncycastle.asn1.DERBitString signature) |
POPOSigningKey(org.bouncycastle.asn1.ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getAlgorithmIdentifier() |
static POPOSigningKey |
getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj,
boolean explicit) |
static POPOSigningKey |
getInstance(java.lang.Object obj) |
POPOSigningKeyInput |
getPoposkInput() |
org.bouncycastle.asn1.DERBitString |
getSignature() |
void |
setPoposkInput(POPOSigningKeyInput poposkInput) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
java.lang.String |
toString() |
public POPOSigningKey(org.bouncycastle.asn1.ASN1Sequence seq)
public POPOSigningKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier, org.bouncycastle.asn1.DERBitString signature)
public static POPOSigningKey getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
public static POPOSigningKey getInstance(java.lang.Object obj)
public POPOSigningKeyInput getPoposkInput()
public void setPoposkInput(POPOSigningKeyInput poposkInput)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
public org.bouncycastle.asn1.DERBitString getSignature()
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.