public class CrossCertResponse extends PKICertRepMessage
PKIMessageBody.Type
Constructor and Description |
---|
CrossCertResponse()
Create a new, empty
CrossCertResponse . |
CrossCertResponse(CertResponse cr)
Creates a new
CrossCertResponse message body with the specified CertResponse . |
CrossCertResponse(java.io.InputStream is)
Create a new
CrossCertResponse by reading its encoding from the given input stream. |
Modifier and Type | Method and Description |
---|---|
PKIMessageBody.Type |
getType()
Returns one of the values defined in
PKIMessageBody.Type . |
addCertificate, addCertResponse, getCertificates, getCertResponses, input, toString
inputInstance, length, output
public CrossCertResponse()
CrossCertResponse
. Use the PKICertRepMessage.addCertResponse(oracle.security.crypto.cmp.CertResponse)
or PKICertRepMessage.input(java.io.InputStream)
methods to complete the object's contents.public CrossCertResponse(CertResponse cr)
CrossCertResponse
message body with the specified CertResponse
.public CrossCertResponse(java.io.InputStream is) throws java.io.IOException
CrossCertResponse
by reading its encoding from the given input stream.java.io.IOException
public PKIMessageBody.Type getType()
PKIMessageBody
PKIMessageBody.Type
.getType
in class PKIMessageBody