|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.JDK11Certificate
A class that implements java.security.Certificate in terms of X509.
Constructor Summary | |
JDK11Certificate(X509 x509)
|
Method Summary | |
void |
decode(java.io.InputStream stream)
Decodes a certificate from an input stream. |
void |
encode(java.io.OutputStream stream)
Encodes the certificate to an output stream in a format that can be decoded by the decode method. |
byte[] |
getFingerprint()
Returns the certificate's fingerprint. |
java.lang.String |
getFormat()
Returns the name of the coding format. |
java.security.Principal |
getGuarantor()
Returns the guarantor of the certificate, that is, the principal guaranteeing that the public key associated with this certificate is that of the principal associated with this certificate. |
JDK11Certificate |
getIssuerCertificate()
Returns the issuer's certificate as a java.security.Certificate. |
java.security.Principal |
getPrincipal()
Returns the principal of the principal-key pair being guaranteed by the guarantor. |
java.security.PublicKey |
getPublicKey()
Returns the key of the principal-key pair being guaranteed by the guarantor. |
java.lang.String |
getSubjectOrgUnit()
Returns the Subject Organization Unit, which is a String. |
X509 |
getX509()
|
java.lang.String |
toString()
|
java.lang.String |
toString(boolean detailed)
Returns a string that represents the contents of the certificate. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public JDK11Certificate(X509 x509)
Method Detail |
public java.lang.String toString()
public JDK11Certificate getIssuerCertificate()
public byte[] getFingerprint()
public java.lang.String getSubjectOrgUnit()
public java.security.Principal getGuarantor()
public java.security.Principal getPrincipal()
public java.security.PublicKey getPublicKey()
public void encode(java.io.OutputStream stream) throws java.security.KeyException, java.io.IOException
decode
method.
stream
- the output stream to which to encode the certificate.decode(java.io.InputStream)
,
getFormat()
public void decode(java.io.InputStream stream) throws java.security.KeyException, java.io.IOException
getFormat
and produced by encode
.
stream
- the input stream from which to fetch the data being decoded.encode(java.io.OutputStream)
,
getFormat()
public java.lang.String getFormat()
encode
and decode
methods.
public java.lang.String toString(boolean detailed)
detailed
- whether or not to give detailed information
about the certificate.public X509 getX509()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |