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 classCertificate.CertificateRep
-
Constructor Summary
Constructors Modifier Constructor Description protectedCertificate(String var0)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object var0)abstract byte[]getEncoded()abstract PublicKeygetPublicKey()StringgetType()inthashCode()abstract StringtoString()abstract voidverify(PublicKey var0)abstract voidverify(PublicKey var0, String var1)protected ObjectwriteReplace()
-
-
-
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
-
-