public class CRSGetCRLMessage extends CRSMessage
certs, crls, envParams, sigParams| Constructor and Description |
|---|
CRSGetCRLMessage()
Constructs a
CRSGetCRLMessage with no issuer name or time specified. |
CRSGetCRLMessage(java.io.InputStream is)
Creates a
CRSGetCRLMessage by reading a BER encoding from the given input stream. |
CRSGetCRLMessage(SigningParameters sigParams, EnvelopingParameters envParams)
Constructs a
CRSGetCRLMessage with no issuer name or time specified. |
CRSGetCRLMessage(X500Name issuerName, java.util.Date time, SigningParameters sigParams, EnvelopingParameters envParams)
Constructs a CRSGetCertMessage with an issuer name and serial number specified.
|
CRSGetCRLMessage(X500Name issuerName, SigningParameters sigParams, EnvelopingParameters envParams)
Constructs a CRSGetCRLMessage with an issuer name specified.
|
| Modifier and Type | Method and Description |
|---|---|
X500Name |
getIssuerName()
Returns the issuerName for this message.
|
protected byte[] |
getMessageContents()
Creates the raw ASN.1 encoding of the contents of this message.
|
java.util.Date |
getTime()
Returns the time for this message.
|
protected void |
parseMessage(byte[] data)
Initializes message object from raw ASN.1 encoding of the CRS message contents.
|
void |
setIssuerName(X500Name issuerName)
Set the issuerName for this message.
|
void |
setTime(java.util.Date time)
Set the time for this message.
|
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, verifySignaturepublic CRSGetCRLMessage()
CRSGetCRLMessage with no issuer name or time specified.public CRSGetCRLMessage(SigningParameters sigParams, EnvelopingParameters envParams)
CRSGetCRLMessage with no issuer name or time specified.sigParams - The SignatureParameters.envParams - The EnvelopingParameters.
public CRSGetCRLMessage(java.io.InputStream is)
throws java.io.IOException
CRSGetCRLMessage by reading a BER encoding from the given input stream.is - The input stream.java.io.IOException - If the input is not correctly formatted.public CRSGetCRLMessage(X500Name issuerName, SigningParameters sigParams, EnvelopingParameters envParams)
issuerName - The X500Name of the issuer.sigParams - The SignatureParameters.envParams - The EnvelopingParameters.public CRSGetCRLMessage(X500Name issuerName, java.util.Date time, SigningParameters sigParams, EnvelopingParameters envParams)
issuerName - The X500Name of the issuer.time - The time.sigParams - The SignatureParameters.envParams - The EnvelopingParameters.public void setIssuerName(X500Name issuerName)
public X500Name getIssuerName() throws oracle.security.crypto.crs.CRSFormatException
oracle.security.crypto.crs.CRSFormatExceptionpublic void setTime(java.util.Date time)
public java.util.Date getTime()
throws oracle.security.crypto.crs.CRSFormatException
oracle.security.crypto.crs.CRSFormatException
protected byte[] getMessageContents()
throws java.io.IOException
getMessageContents in class CRSMessagejava.io.IOException
protected void parseMessage(byte[] data)
throws java.io.IOException
parseMessage in class CRSMessagedata - The raw ASN.1 encoding.java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object