|
Oracle Security Developer Tools S/MIME Java API Reference 10g Release 3 (10.1.3) B25379-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.crypto.smime.ess.SigningCertificate
An ESS Signing Certificate.
| Constructor Summary | |
SigningCertificate(oracle.security.crypto.cms.CMSSignerInfo si)Create a new SigningCertificateAttribute object. |
|
SigningCertificate(java.io.InputStream is)Create a new SigningCertificateAttribute object. |
|
SigningCertificate(oracle.security.crypto.cert.X509 cert)Create a new SigningCertificate object. |
|
SigningCertificate(oracle.security.crypto.cert.X509 cert, java.util.Vector policy)Create a new SigningCertificate object. |
|
SigningCertificate(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, boolean addIssuerSerial)Create a new SigningCertificateAttribute object. |
|
SigningCertificate(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, boolean useIssuerSerial, java.util.Vector policy)Create a new SigningCertificateAttribute object. |
|
| Method Summary | |
void |
addCertificate(oracle.security.crypto.cert.X509 cert)Adds a certificate to this signing certificate attribute object. |
void |
addCertificate(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, boolean issuerSerial)Adds a certificate to this signing certificate attribute object. |
void |
addPolicy(oracle.security.crypto.cert.X509PolicyInformation policy)Adds a policy information to this signing certificate attribute object |
java.util.Enumeration |
certIDs()Returns the list of certificate identifiers. |
boolean |
equals(java.lang.Object o)Indicates if the object equals the specified object. |
int |
hashCode()Return the hash code for this object. |
void |
input(java.io.InputStream is)Initialized this object by reading the encoding from the specified input stream. |
int |
length()Returns the length of this object's encoding. |
void |
output(java.io.OutputStream os)Output this object's encoding to the specified output stream. |
java.util.Enumeration |
policies()Returns the list of policies asserted by the signer. |
java.lang.String |
toString()Returns a string representation of this object. |
void |
verifyAuthorizationCertificate(oracle.security.crypto.cert.X509 cert)Verifies if a certificate is in the signing certificate attribute, and compare the result of its hash to the value in the signing certificate attribute. |
void |
verifyAuthorizationCertificate(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert)Verifies if a certificate is in the signing certificate attribute, and compare the result of its hash to the value in the signing certificate attribute. |
void |
verifySignerCertificate(oracle.security.crypto.cert.X509 cert)Verifies if the certificate which was used to verify the signature is identical to the one used to create the signature. |
void |
verifySignerCertificate(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert)Verifies if the certificate which was used to verify the signature is identical to the one used to create the signature. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SigningCertificate(oracle.security.crypto.cert.X509 cert)
throws oracle.security.crypto.core.AlgorithmIdentifierException
SigningCertificate object.cert - The X509 signer certificate.oracle.security.crypto.core.AlgorithmIdentifierException - An error occurred during certificate hash generation.
public SigningCertificate(oracle.security.crypto.cert.X509 cert,
java.util.Vector policy)
throws oracle.security.crypto.core.AlgorithmIdentifierException
SigningCertificate object.cert - The X509 signer certificate.policy - The policies (X509PolicyInformation) that the signer asserts.oracle.security.crypto.core.AlgorithmIdentifierException - An error occurred during certificate hash generation.
public SigningCertificate(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert,
boolean addIssuerSerial)
throws oracle.security.crypto.core.AlgorithmIdentifierException
SigningCertificateAttribute object.cert - The X509 certificate.addIssuerSerial - If true, the issuer/serial number is used.oracle.security.crypto.core.AlgorithmIdentifierException - An error occurred during certificate hash generation.
public SigningCertificate(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert,
boolean useIssuerSerial,
java.util.Vector policy)
throws oracle.security.crypto.core.AlgorithmIdentifierException
SigningCertificateAttribute object.cert - The X509 signer certificate.useIssuerSerial - If true, the issuer/serial number is used.policy - The policies (X509PolicyInformation) that the signer asserts.oracle.security.crypto.core.AlgorithmIdentifierException - An error occurred during certificate hash generation.
public SigningCertificate(java.io.InputStream is)
throws java.io.IOException
SigningCertificateAttribute object.is - The input stream.java.io.IOException - If the input is not correctly formatted or an I/O exception occurs while reading from the input stream.
public SigningCertificate(oracle.security.crypto.cms.CMSSignerInfo si)
throws oracle.security.crypto.util.InvalidInputException
SigningCertificateAttribute object.si - The message signer (CMSSignerInfo).oracle.security.crypto.util.InvalidInputException - If the attribute is not present or it is multi valued or its encoding is incorrect.| Method Detail |
public void addCertificate(oracle.security.crypto.cert.X509 cert)
throws oracle.security.crypto.core.AlgorithmIdentifierException
oracle.security.crypto.core.AlgorithmIdentifierException
public void addCertificate(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert,
boolean issuerSerial)
throws oracle.security.crypto.core.AlgorithmIdentifierException
oracle.security.crypto.core.AlgorithmIdentifierExceptionpublic void addPolicy(oracle.security.crypto.cert.X509PolicyInformation policy)
public java.util.Enumeration certIDs()
ESSCertID objects.public java.util.Enumeration policies()
X509PolicyInformation objects.public java.lang.String toString()
public boolean equals(java.lang.Object o)
true this object is equal to the specified object; false otherwise.public int hashCode()
public void verifySignerCertificate(oracle.security.crypto.cert.X509 cert)
throws oracle.security.crypto.core.AuthenticationException
cert - The certificate used to verify the signature.oracle.security.crypto.core.AuthenticationException - If the certificate used to verify the signature does not correspond to the one used to create the signature.
public void verifySignerCertificate(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert)
throws oracle.security.crypto.core.AuthenticationException
cert - The certificate used to verify the signature.caCert - The issuer's certificate used to verify the signature.oracle.security.crypto.core.AuthenticationException - If the certificate used to verify the signature does not correspond to the one used to create the signature.
public void verifyAuthorizationCertificate(oracle.security.crypto.cert.X509 cert)
throws oracle.security.crypto.core.AuthenticationException
oracle.security.crypto.core.AuthenticationException - if the certificate is not in the signing certificate attribute or if its hash function is different from the one in ths signing certificate attribute
public void verifyAuthorizationCertificate(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert)
throws oracle.security.crypto.core.AuthenticationException
oracle.security.crypto.core.AuthenticationException - if the certificate is not in the signing certificate attribute or if its hash function is different from the one in ths signing certificate attribute
public void input(java.io.InputStream is)
throws java.io.IOException
input in interface oracle.security.crypto.util.Streamableis - The input stream.java.io.IOException
public void output(java.io.OutputStream os)
throws java.io.IOException
output in interface oracle.security.crypto.util.Streamableos - The output stream.java.io.IOExceptionpublic int length()
length in interface oracle.security.crypto.util.Streamable
|
Oracle Security Developer Tools S/MIME Java API Reference 10g Release 3 (10.1.3) B25379-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||