org.kuali.rice.ksb.security.credentials
Class X509CredentialsSourceTest.KualiX509Certificate

java.lang.Object
  extended by java.security.cert.Certificate
      extended by java.security.cert.X509Certificate
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.security.cert.Certificate
Certificate.CertificateRep
 
Constructor Summary
protected X509CredentialsSourceTest.KualiX509Certificate()
           
 
Method Summary
 void checkValidity()
           
 void checkValidity(Date date)
           
 int getBasicConstraints()
           
 Set<String> getCriticalExtensionOIDs()
           
 byte[] getEncoded()
           
 byte[] getExtensionValue(String arg0)
           
 Principal getIssuerDN()
           
 boolean[] getIssuerUniqueID()
           
 boolean[] getKeyUsage()
           
 Set<String> getNonCriticalExtensionOIDs()
           
 Date getNotAfter()
           
 Date getNotBefore()
           
 PublicKey getPublicKey()
           
 BigInteger getSerialNumber()
           
 String getSigAlgName()
           
 String getSigAlgOID()
           
 byte[] getSigAlgParams()
           
 byte[] getSignature()
           
 Principal getSubjectDN()
           
 boolean[] getSubjectUniqueID()
           
 byte[] getTBSCertificate()
           
 int getVersion()
           
 boolean hasUnsupportedCriticalExtension()
           
 String toString()
           
 void verify(PublicKey arg0)
           
 void verify(PublicKey arg0, String arg1)
           
 
Methods inherited from class java.security.cert.X509Certificate
getExtendedKeyUsage, getIssuerAlternativeNames, getIssuerX500Principal, getSubjectAlternativeNames, getSubjectX500Principal
 
Methods inherited from class java.security.cert.Certificate
equals, getType, hashCode, writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X509CredentialsSourceTest.KualiX509Certificate

protected X509CredentialsSourceTest.KualiX509Certificate()
Method Detail

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-2012 The Kuali Foundation. All Rights Reserved.