|
Bouncy Castle Cryptography Library 1.79 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.POPOSigningKeyInput
Constructor Summary | |
POPOSigningKeyInput(org.bouncycastle.asn1.x509.GeneralName sender,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo spki)
Creates a new POPOSigningKeyInput with sender name as authInfo. |
|
POPOSigningKeyInput(PKMACValue pkmac,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo spki)
Creates a new POPOSigningKeyInput using password-based MAC. |
Method Summary | |
static POPOSigningKeyInput |
getInstance(java.lang.Object o)
|
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo |
getPublicKey()
|
PKMACValue |
getPublicKeyMAC()
Returns the publicKeyMAC field, or null if authInfo is sender |
org.bouncycastle.asn1.x509.GeneralName |
getSender()
Returns the sender field, or null if authInfo is publicKeyMAC |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
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 |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public POPOSigningKeyInput(org.bouncycastle.asn1.x509.GeneralName sender, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo spki)
public POPOSigningKeyInput(PKMACValue pkmac, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo spki)
Method Detail |
public static POPOSigningKeyInput getInstance(java.lang.Object o)
public org.bouncycastle.asn1.x509.GeneralName getSender()
public PKMACValue getPublicKeyMAC()
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
|
Bouncy Castle Cryptography Library 1.79 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |