public static class X509CredentialsSourceTest.KualiX509Certificate extends X509Certificate
Certificate.CertificateRep
Modifier | Constructor and Description |
---|---|
protected |
X509CredentialsSourceTest.KualiX509Certificate() |
Modifier and Type | Method and Description |
---|---|
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) |
getExtendedKeyUsage, getIssuerAlternativeNames, getIssuerX500Principal, getSubjectAlternativeNames, getSubjectX500Principal
equals, getType, hashCode, writeReplace
protected X509CredentialsSourceTest.KualiX509Certificate()
public void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException
checkValidity
in class X509Certificate
CertificateExpiredException
CertificateNotYetValidException
public void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException
checkValidity
in class X509Certificate
CertificateExpiredException
CertificateNotYetValidException
public int getBasicConstraints()
getBasicConstraints
in class X509Certificate
public Principal getIssuerDN()
getIssuerDN
in class X509Certificate
public boolean[] getIssuerUniqueID()
getIssuerUniqueID
in class X509Certificate
public boolean[] getKeyUsage()
getKeyUsage
in class X509Certificate
public Date getNotAfter()
getNotAfter
in class X509Certificate
public Date getNotBefore()
getNotBefore
in class X509Certificate
public BigInteger getSerialNumber()
getSerialNumber
in class X509Certificate
public String getSigAlgName()
getSigAlgName
in class X509Certificate
public String getSigAlgOID()
getSigAlgOID
in class X509Certificate
public byte[] getSigAlgParams()
getSigAlgParams
in class X509Certificate
public byte[] getSignature()
getSignature
in class X509Certificate
public Principal getSubjectDN()
getSubjectDN
in class X509Certificate
public boolean[] getSubjectUniqueID()
getSubjectUniqueID
in class X509Certificate
public byte[] getTBSCertificate() throws CertificateEncodingException
getTBSCertificate
in class X509Certificate
CertificateEncodingException
public int getVersion()
getVersion
in class X509Certificate
public Set<String> getCriticalExtensionOIDs()
public byte[] getExtensionValue(String arg0)
public Set<String> getNonCriticalExtensionOIDs()
public boolean hasUnsupportedCriticalExtension()
public byte[] getEncoded() throws CertificateEncodingException
getEncoded
in class Certificate
CertificateEncodingException
public PublicKey getPublicKey()
getPublicKey
in class Certificate
public String toString()
toString
in class Certificate
public void verify(PublicKey arg0, String arg1) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify
in class Certificate
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
public void verify(PublicKey arg0) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify
in class Certificate
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.