Package java.security.cert
Class Certificate
- java.lang.Object
-
- java.security.cert.Certificate
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
X509Certificate
public abstract class Certificate extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
Certificate.CertificateRep
-
Constructor Summary
Constructors Modifier Constructor Description protected
Certificate(String var0)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object var0)
abstract byte[]
getEncoded()
abstract PublicKey
getPublicKey()
String
getType()
int
hashCode()
abstract String
toString()
abstract void
verify(PublicKey var0)
abstract void
verify(PublicKey var0, String var1)
protected Object
writeReplace()
-
-
-
Constructor Detail
-
Certificate
protected Certificate(String var0)
-
-
Method Detail
-
getEncoded
public abstract byte[] getEncoded() throws CertificateEncodingException
- Throws:
CertificateEncodingException
-
getPublicKey
public abstract PublicKey getPublicKey()
-
getType
public final String getType()
-
verify
public abstract void verify(PublicKey var0) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
-
verify
public abstract void verify(PublicKey var0, String var1) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
-
writeReplace
protected Object writeReplace() throws ObjectStreamException
- Throws:
ObjectStreamException
-
-