public class CRSRevReqMessage extends CRSMessage
certs, crls, envParams, sigParams
Constructor and Description |
---|
CRSRevReqMessage()
Creates a
CRSRevReqMessage with no fields specified. |
CRSRevReqMessage(java.io.InputStream is)
Creates a
CRSRevReqMessage by reading a BER encoding from the given input stream. |
CRSRevReqMessage(SigningParameters sigParams, EnvelopingParameters envParams)
Creates a
CRSRevReqMessage with no fields specified. |
CRSRevReqMessage(X500Name issuerName, java.math.BigInteger serialNumber, CRLReason reason, SigningParameters sigParams, EnvelopingParameters envParams)
Creates a
CRSRevReqMessage with the issuer name, serial number and reason specified. |
CRSRevReqMessage(X500Name issuerName, java.math.BigInteger serialNumber, CRLReason reason, java.lang.String passphrase, SigningParameters sigParams, EnvelopingParameters envParams)
Creates a
CRSRevReqMessage with the issuer name, serial number, reason, and passphrase specified. |
CRSRevReqMessage(X500Name issuerName, java.math.BigInteger serialNumber, CRLReason reason, java.lang.String passphrase, java.lang.String comment, SigningParameters sigParams, EnvelopingParameters envParams)
Creates a
CRSRevReqMessage with the issuer name, serial number, reason, and passphrase specified. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Gets the passphrase for this message.
|
X500Name |
getIssuerName()
Returns the issuerName for this message.
|
protected byte[] |
getMessageContents()
Creates the raw ASN.1 encoding of the contents of this message.
|
java.lang.String |
getPassphrase()
Gets the passphrase for this message.
|
CRLReason |
getReason()
Gets the reason for this message.
|
java.math.BigInteger |
getSerialNumber()
Gets the serialNumber for this message.
|
protected void |
parseMessage(byte[] data)
Initializes message object from raw ASN.1 encoding of the CRS message contents.
|
void |
setComment(java.lang.String comment)
Set the comment for this message.
|
void |
setIssuerName(X500Name issuerName)
Set the issuerName for this message.
|
void |
setPassphrase(java.lang.String passphrase)
Set the passphrase for this message.
|
void |
setReason(CRLReason reason)
Set the reason for this message.
|
void |
setSerialNumber(java.math.BigInteger serialNumber)
Set the serialNumber 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, verifySignature
public CRSRevReqMessage()
CRSRevReqMessage
with no fields specified.public CRSRevReqMessage(SigningParameters sigParams, EnvelopingParameters envParams)
CRSRevReqMessage
with no fields specified.sigParams
- The SignatureParameters
.envParams
- The EnvelopingParameters
.public CRSRevReqMessage(java.io.InputStream is) throws java.io.IOException
CRSRevReqMessage
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 CRSRevReqMessage(X500Name issuerName, java.math.BigInteger serialNumber, CRLReason reason, SigningParameters sigParams, EnvelopingParameters envParams)
CRSRevReqMessage
with the issuer name, serial number and reason specified.issuerName
- The X500Name
of the issuer.serialNumber
- The serialNumber of the certificate.reason
- The CRLReason.sigParams
- The SignatureParameters
.envParams
- The EnvelopingParameters
.public CRSRevReqMessage(X500Name issuerName, java.math.BigInteger serialNumber, CRLReason reason, java.lang.String passphrase, SigningParameters sigParams, EnvelopingParameters envParams)
CRSRevReqMessage
with the issuer name, serial number, reason, and passphrase specified.issuerName
- The X500Name
of the issuer.serialNumber
- The serialNumber of the certificate.reason
- The CRLReason.passphrase
- The passphrase.sigParams
- The SignatureParameters
.envParams
- The EnvelopingParameters
.public CRSRevReqMessage(X500Name issuerName, java.math.BigInteger serialNumber, CRLReason reason, java.lang.String passphrase, java.lang.String comment, SigningParameters sigParams, EnvelopingParameters envParams)
CRSRevReqMessage
with the issuer name, serial number, reason, and passphrase specified.issuerName
- The X500Name
of the issuer.serialNumber
- The serialNumber of the certificate.reason
- The CRLReason.passphrase
- The passphrase.comment
- The commentsigParams
- The SignatureParameters
.envParams
- The EnvelopingParameters
.public void setIssuerName(X500Name issuerName)
public X500Name getIssuerName() throws oracle.security.crypto.crs.CRSFormatException
oracle.security.crypto.crs.CRSFormatException
public void setSerialNumber(java.math.BigInteger serialNumber)
public java.math.BigInteger getSerialNumber() throws oracle.security.crypto.crs.CRSFormatException
oracle.security.crypto.crs.CRSFormatException
public void setReason(CRLReason reason)
public CRLReason getReason() throws oracle.security.crypto.crs.CRSFormatException
oracle.security.crypto.crs.CRSFormatException
public void setPassphrase(java.lang.String passphrase)
public java.lang.String getPassphrase() throws oracle.security.crypto.crs.CRSFormatException
oracle.security.crypto.crs.CRSFormatException
public void setComment(java.lang.String comment)
public java.lang.String getComment() throws oracle.security.crypto.crs.CRSFormatException
oracle.security.crypto.crs.CRSFormatException
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