|
Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.Certificate
An abstract certificate class. A certificate is a binding of a public key and a holder, together with some means to verify this binding.
This is an abstract class. Subclasses need to implement the verify()
methods.
Field Summary | |
protected Entity |
holder The holder of the certificate. |
protected PublicKey |
key The public key associated with the certificate. |
Constructor Summary | |
protected |
Certificate() |
Method Summary | |
Entity |
getHolder() Returns the holder of this certificate. |
PublicKey |
getKey() Deprecated. Replaced by getPublicKey() . |
PublicKey |
getPublicKey() Returns the public key associated with this certificate. |
abstract boolean |
verify() Verifies this certificate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Entity holder
protected PublicKey key
Constructor Detail |
protected Certificate()
Method Detail |
public abstract boolean verify() throws AuthenticationException
true
if this certificate is valid, otherwise false
AuthenticationException
- If the verification operation could not be performed for some reason (for example, a necessary credential or token has the wrong format)public PublicKey getKey()
getPublicKey()
.public PublicKey getPublicKey()
public Entity getHolder()
|
Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |