public class CRSRevRepMessage extends CRSMessage
certs, crls, envParams, sigParams
Constructor and Description |
---|
CRSRevRepMessage()
Constructs a
CRSRevReqMessage . |
CRSRevRepMessage(java.io.InputStream is)
Creates a
CRSRevRepMessage by reading a BER encoding from the given input stream. |
CRSRevRepMessage(SigningParameters sigParams, EnvelopingParameters envParams)
Constructs a
CRSRevReqMessage . |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getMessageContents()
In other classes extending CRSMessage, this method creates the raw ASN.1 encoding of the contents of this message.
|
protected void |
parseMessage(byte[] data)
In other classes extending CRSMessage, this method initializes the message object from raw ASN.1 encoding of the CRS message contents.
|
java.lang.String |
toString()
Returns a string representation of this message object.
|
attributesToString, containsEnvelope, getAuthenticatedAttributes, getCertificates, getCRLs, getExtensionReq, getFailInfo, getMessageType, getPkiStatus, getRecipientNonce, getSenderNonce, getTransactionId, getVersion, input, inputInstance, isEncrypted, length, output, removeEnclosed, setCertificates, setCRLs, setEnvelopingParameters, setExtensionReq, setFailInfo, setMessageType, setPkiStatus, setRecipientNonce, setSenderNonce, setSigningParameters, setTransactionId, setVersion, updateEncapsulatedContents, updateSignedContents, verify, verifySignature
public CRSRevRepMessage()
CRSRevReqMessage
.public CRSRevRepMessage(SigningParameters sigParams, EnvelopingParameters envParams)
CRSRevReqMessage
.sigParams
- The SignatureParameters
.envParams
- The EnvelopingParameters
.public CRSRevRepMessage(java.io.InputStream is) throws java.io.IOException
CRSRevRepMessage
by reading a BER encoding from the given input stream.is
- The input stream.java.io.IOException
- If the input is not correctly formatted.protected byte[] getMessageContents() throws java.io.IOException
getMessageContents
in class CRSMessage
java.io.IOException
protected void parseMessage(byte[] data) throws java.io.IOException
parseMessage
in class CRSMessage
data
- The raw ASN.1 encoding.java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object