public class POPResponse extends PKIMessageBody
This message conveys a sequence of integers, obtained by decrypting the challenge(s) in a POPChallenge message, in the same order as the original certificate requests were presented.
POPChallenge, ChallengePKIMessageBody.Type| Constructor and Description |
|---|
POPResponse()
Create a new, empty
POPResponse message body. |
POPResponse(java.math.BigInteger challengeInt)
Create a new
POPResponse message body with the specified challenge integer. |
POPResponse(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChallengeInt(java.math.BigInteger challengeInt)
Add a challenge integer to this
POPResponse message body. |
java.util.Vector |
getChallengeInts()
Get the challenge integers included in this challenge response.
|
PKIMessageBody.Type |
getType()
Returns one of the values defined in
PKIMessageBody.Type. |
void |
input(java.io.InputStream is)
Initializes this object by reading its encoding from the given input stream.
|
java.lang.String |
toString() |
inputInstance, length, outputpublic POPResponse()
POPResponse message body. Since such an object is not valid, this constructor is intended primarily for use with the input(java.io.InputStream) method.public POPResponse(java.math.BigInteger challengeInt)
POPResponse message body with the specified challenge integer.
public POPResponse(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic void addChallengeInt(java.math.BigInteger challengeInt)
POPResponse message body.public java.util.Vector getChallengeInts()
Vector of BigIntegers.public PKIMessageBody.Type getType()
PKIMessageBodyPKIMessageBody.Type.getType in class PKIMessageBodypublic java.lang.String toString()
toString in class java.lang.Object
public void input(java.io.InputStream is)
throws java.io.IOException
java.io.IOException