public class Challenge extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
private ASN1OctetString |
challenge |
private AlgorithmIdentifier |
owf |
private ASN1OctetString |
witness |
BER, DER| Modifier | Constructor and Description |
|---|---|
private |
Challenge(ASN1Sequence seq) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addOptional(ASN1EncodableVector v,
ASN1Encodable obj) |
static Challenge |
getInstance(java.lang.Object o) |
AlgorithmIdentifier |
getOwf() |
DERObject |
toASN1Object()
Challenge ::= SEQUENCE {
owf AlgorithmIdentifier OPTIONAL,
-- MUST be present in the first Challenge; MAY be omitted in
-- any subsequent Challenge in POPODecKeyChallContent (if
-- omitted, then the owf used in the immediately preceding
-- Challenge is to be used).
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodeprivate AlgorithmIdentifier owf
private ASN1OctetString witness
private ASN1OctetString challenge
private Challenge(ASN1Sequence seq)
public static Challenge getInstance(java.lang.Object o)
public AlgorithmIdentifier getOwf()
public DERObject toASN1Object()
Challenge ::= SEQUENCE {
owf AlgorithmIdentifier OPTIONAL,
-- MUST be present in the first Challenge; MAY be omitted in
-- any subsequent Challenge in POPODecKeyChallContent (if
-- omitted, then the owf used in the immediately preceding
-- Challenge is to be used).
witness OCTET STRING,
-- the result of applying the one-way function (owf) to a
-- randomly-generated INTEGER, A. [Note that a different
-- INTEGER MUST be used for each Challenge.]
challenge OCTET STRING
-- the encryption (under the public key for which the cert.
-- request is being made) of Rand, where Rand is specified as
-- Rand ::= SEQUENCE {
-- int INTEGER,
-- - the randomly-generated INTEGER A (above)
-- sender GeneralName
-- - the sender's name (as included in PKIHeader)
-- }
}
toASN1Object in class ASN1Encodableprivate void addOptional(ASN1EncodableVector v, ASN1Encodable obj)
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.