public class POPOSigningKeyInput
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
POPOSigningKeyInput ::= SEQUENCE { authInfo CHOICE { sender [0] GeneralName, -- used only if an authenticated identity has been established for the sender (e.g., a DN from a previously-issued and currently-valid certificate publicKeyMAC PKMACValue }, -- used if no authenticated GeneralName currently exists for the sender; publicKeyMAC contains a password-based MAC on the DER-encoded value of publicKey publicKey SubjectPublicKeyInfo } -- from CertTemplate
Constructor and Description |
---|
POPOSigningKeyInput(org.bouncycastle.asn1.ASN1Sequence seq) |
POPOSigningKeyInput(org.bouncycastle.asn1.x509.GeneralName sender,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey) |
POPOSigningKeyInput(PKMACValue publicKeyMAC,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey) |
Modifier and Type | Method and Description |
---|---|
static POPOSigningKeyInput |
getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj,
boolean explicit) |
static POPOSigningKeyInput |
getInstance(java.lang.Object obj) |
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo |
getPublicKey() |
PKMACValue |
getPublicKeyMAC() |
org.bouncycastle.asn1.x509.GeneralName |
getSender() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
java.lang.String |
toString() |
public POPOSigningKeyInput(org.bouncycastle.asn1.ASN1Sequence seq)
public POPOSigningKeyInput(org.bouncycastle.asn1.x509.GeneralName sender, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey)
public POPOSigningKeyInput(PKMACValue publicKeyMAC, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey)
public static POPOSigningKeyInput getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
public static POPOSigningKeyInput getInstance(java.lang.Object obj)
public org.bouncycastle.asn1.x509.GeneralName getSender()
public PKMACValue getPublicKeyMAC()
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey()
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.