org.kuali.rice.ksb.security.credentials
Class X509CredentialsSourceTest.KualiX509Certificate
java.lang.Object
java.security.cert.Certificate
java.security.cert.X509Certificate
org.kuali.rice.ksb.security.credentials.X509CredentialsSourceTest.KualiX509Certificate
- All Implemented Interfaces:
- Serializable, X509Extension
- Enclosing class:
- X509CredentialsSourceTest
public static class X509CredentialsSourceTest.KualiX509Certificate
- extends X509Certificate
- See Also:
- Serialized Form
X509CredentialsSourceTest.KualiX509Certificate
protected X509CredentialsSourceTest.KualiX509Certificate()
checkValidity
public void checkValidity()
throws CertificateExpiredException,
CertificateNotYetValidException
- Specified by:
checkValidity
in class X509Certificate
- Throws:
CertificateExpiredException
CertificateNotYetValidException
checkValidity
public void checkValidity(Date date)
throws CertificateExpiredException,
CertificateNotYetValidException
- Specified by:
checkValidity
in class X509Certificate
- Throws:
CertificateExpiredException
CertificateNotYetValidException
getBasicConstraints
public int getBasicConstraints()
- Specified by:
getBasicConstraints
in class X509Certificate
getIssuerDN
public Principal getIssuerDN()
- Specified by:
getIssuerDN
in class X509Certificate
getIssuerUniqueID
public boolean[] getIssuerUniqueID()
- Specified by:
getIssuerUniqueID
in class X509Certificate
getKeyUsage
public boolean[] getKeyUsage()
- Specified by:
getKeyUsage
in class X509Certificate
getNotAfter
public Date getNotAfter()
- Specified by:
getNotAfter
in class X509Certificate
getNotBefore
public Date getNotBefore()
- Specified by:
getNotBefore
in class X509Certificate
getSerialNumber
public BigInteger getSerialNumber()
- Specified by:
getSerialNumber
in class X509Certificate
getSigAlgName
public String getSigAlgName()
- Specified by:
getSigAlgName
in class X509Certificate
getSigAlgOID
public String getSigAlgOID()
- Specified by:
getSigAlgOID
in class X509Certificate
getSigAlgParams
public byte[] getSigAlgParams()
- Specified by:
getSigAlgParams
in class X509Certificate
getSignature
public byte[] getSignature()
- Specified by:
getSignature
in class X509Certificate
getSubjectDN
public Principal getSubjectDN()
- Specified by:
getSubjectDN
in class X509Certificate
getSubjectUniqueID
public boolean[] getSubjectUniqueID()
- Specified by:
getSubjectUniqueID
in class X509Certificate
getTBSCertificate
public byte[] getTBSCertificate()
throws CertificateEncodingException
- Specified by:
getTBSCertificate
in class X509Certificate
- Throws:
CertificateEncodingException
getVersion
public int getVersion()
- Specified by:
getVersion
in class X509Certificate
getCriticalExtensionOIDs
public Set<String> getCriticalExtensionOIDs()
getExtensionValue
public byte[] getExtensionValue(String arg0)
getNonCriticalExtensionOIDs
public Set<String> getNonCriticalExtensionOIDs()
hasUnsupportedCriticalExtension
public boolean hasUnsupportedCriticalExtension()
getEncoded
public byte[] getEncoded()
throws CertificateEncodingException
- Specified by:
getEncoded
in class Certificate
- Throws:
CertificateEncodingException
getPublicKey
public PublicKey getPublicKey()
- Specified by:
getPublicKey
in class Certificate
toString
public String toString()
- Specified by:
toString
in class Certificate
verify
public void verify(PublicKey arg0,
String arg1)
throws CertificateException,
NoSuchAlgorithmException,
InvalidKeyException,
NoSuchProviderException,
SignatureException
- Specified by:
verify
in class Certificate
- Throws:
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
verify
public void verify(PublicKey arg0)
throws CertificateException,
NoSuchAlgorithmException,
InvalidKeyException,
NoSuchProviderException,
SignatureException
- Specified by:
verify
in class Certificate
- Throws:
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.