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!


Constructor Index

 o NetscapeCertRequest(byte[])
Create a spkac form a PEM or DER array.
 o NetscapeCertRequest(String)
Create a NetscapeCertRequest from a PEM or DER file.

Method Index

 o getPublicKey()
Returns the public key from this spkac structure.
 o verify()
Verifies the self signed public key.

Constructors

 o 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
 o 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

Methods

 o verify
 public boolean verify() throws SignatureException
Verifies the self signed public key.

Throws: SignatureException
if the cert request could not be verified
 o 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