All Packages Class Hierarchy This Package Previous Next Index
Class iaik.x509.NetscapeCertRequest
java.lang.Object
|
+----iaik.x509.NetscapeCertRequest
- public class NetscapeCertRequest
- extends Object
This class represents a certificate request from Netscape Navigator 3.0 and 4.x!
-
NetscapeCertRequest(byte[])
- Create a spkac form a PEM or DER array.
-
NetscapeCertRequest(String)
- Create a NetscapeCertRequest from a PEM or DER file.
-
getPublicKey()
- Returns the public key from this spkac structure.
-
verify()
- Verifies the self signed public key.
NetscapeCertRequest
public NetscapeCertRequest(String fileName) throws IOException, CodingException
- Create a NetscapeCertRequest from a PEM or DER file.
- Parameters:
- fileName - the name of the file
- Throws: IOException
- if the file could not be read
- Throws: CodingException
- if the CertRequest could not be parsed
NetscapeCertRequest
public NetscapeCertRequest(byte arr[]) throws CodingException
- Create a spkac form a PEM or DER array.
- Parameters:
- arr - the array containing the CertRequest
- Throws: CodingException
- if the CertRequest could not be parsed
verify
public boolean verify() throws SignatureException
- Verifies the self signed public key.
- Throws: SignatureException
- if the cert request could not be verified
getPublicKey
public PublicKey getPublicKey() throws InvalidKeyException
- Returns the public key from this spkac structure.
- Throws: InvalidKeyException
- if the public key from this spkac
could not be created
All Packages Class Hierarchy This Package Previous Next Index