|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.X509Cert
public class X509Cert
Method Summary | |
---|---|
String |
getCertDigest()
|
String |
getCertString()
|
List |
getExtendedKeyUsage()
|
String |
getIssuerName()
|
PublicKey |
getPublicKey()
|
String |
getSerialNumber()
|
String |
getSigAlgName()
|
String |
getSigAlgOID()
|
String |
getSubjectName()
|
byte[] |
getTBSCertificate()
|
X509Certificate |
getX509Certificate()
|
static X509Cert |
initByByteArray(byte[] data)
|
static X509Cert |
initByFile(File certFile)
This method initialzes a X509Certificate by a file value. |
static X509Cert |
initByFilePath(String filePath)
This method initialzes a X509Certificate by a file path value. |
static X509Cert |
initByString(String certString)
This method initialzes a X509Certificate by a string value. |
boolean |
isRSA()
This method checks, if a X509Certificate has a public key with the rsa algorithm. |
boolean |
isX509Cert()
This method checks if a certificate file is X509 conform. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static X509Cert initByString(String certString)
certString
- the certificate string to analyse
CertificateFactory
,
X509Certificate
public static X509Cert initByByteArray(byte[] data)
public static X509Cert initByFilePath(String filePath)
filePath
- the certificate file to analyse
CertificateFactory
,
X509Certificate
public static X509Cert initByFile(File certFile)
certFile
- the certificate file to analyse
CertificateFactory
,
X509Certificate
public boolean isX509Cert()
public String getCertDigest()
public String getCertString()
public String getIssuerName()
public String getSerialNumber()
public X509Certificate getX509Certificate()
X509Certificate
public String getSubjectName()
public byte[] getTBSCertificate() throws CertificateEncodingException
CertificateEncodingException
public String getSigAlgName()
public String getSigAlgOID()
public List getExtendedKeyUsage()
public PublicKey getPublicKey()
public boolean isRSA()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |