public abstract class Certificate
extends java.lang.Object
implements java.io.Externalizable
This is an abstract class. Subclasses need to implement the verify() methods.
| Modifier and Type | Field and Description |
|---|---|
protected Entity |
holder
The holder of the certificate.
|
protected oracle.security.crypto.core.PublicKey |
key
The public key associated with the certificate.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Certificate() |
| Modifier and Type | Method and Description |
|---|---|
Entity |
getHolder()
Returns the holder of this certificate.
|
oracle.security.crypto.core.PublicKey |
getPublicKey()
Returns the public key associated with this certificate.
|
abstract boolean |
verify()
Verifies this certificate.
|
protected Entity holder
protected oracle.security.crypto.core.PublicKey key
public abstract boolean verify()
throws oracle.security.crypto.core.AuthenticationException
true if this certificate is valid, otherwise falseoracle.security.crypto.core.AuthenticationException - If the verification operation could not be performed for some reason (for example, a necessary credential or token has the wrong format)public oracle.security.crypto.core.PublicKey getPublicKey()
public Entity getHolder()