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
, Challenge
PKIMessageBody.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, output
public 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.IOException
public void addChallengeInt(java.math.BigInteger challengeInt)
POPResponse
message body.public java.util.Vector getChallengeInts()
Vector
of BigInteger
s.public PKIMessageBody.Type getType()
PKIMessageBody
PKIMessageBody.Type
.getType
in class PKIMessageBody
public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException