Skip navigation links

Oracle Security Developer Tools PKI SDK CMP Java API Reference
11g (11.1.1)

E10666-02


oracle.security.crypto.cmp
Class POPResponse

java.lang.Object
  extended by oracle.security.crypto.cmp.PKIMessageBody
      extended by oracle.security.crypto.cmp.POPResponse

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class POPResponse
extends PKIMessageBody

PKI message body of type POP Response.

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.

See Also:
POPChallenge, Challenge

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.crypto.cmp.PKIMessageBody
PKIMessageBody.Type

 

Constructor Summary
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)
           

 

Method Summary
 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()
           

 

Methods inherited from class oracle.security.crypto.cmp.PKIMessageBody
inputInstance, length, output

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

POPResponse

public POPResponse()
Create a new, empty POPResponse message body. Since such an object is not valid, this constructor is intended primarily for use with the input(java.io.InputStream) method.

POPResponse

public POPResponse(java.math.BigInteger challengeInt)
Create a new POPResponse message body with the specified challenge integer.

POPResponse

public POPResponse(java.io.InputStream is)
            throws java.io.IOException
Throws:
java.io.IOException

Method Detail

addChallengeInt

public void addChallengeInt(java.math.BigInteger challengeInt)
Add a challenge integer to this POPResponse message body.

getChallengeInts

public java.util.Vector getChallengeInts()
Get the challenge integers included in this challenge response.
Returns:
a Vector of BigIntegers.

getType

public PKIMessageBody.Type getType()
Description copied from class: PKIMessageBody
Returns one of the values defined in PKIMessageBody.Type.
Specified by:
getType in class PKIMessageBody

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Initializes this object by reading its encoding from the given input stream.
Throws:
java.io.IOException

Skip navigation links

Oracle Security Developer Tools PKI SDK CMP Java API Reference
11g (11.1.1)

E10666-02


Copyright © 2005, 2009, Oracle. All rights reserved.