Home » geronimo-2.2-source-release » org.apache.geronimo.crypto.jce » [javadoc | source]
org.apache.geronimo.crypto.jce
public class: X509V1CertificateGenerator [javadoc | source]
java.lang.Object
   org.apache.geronimo.crypto.jce.X509V1CertificateGenerator
Deprecated! use - the equivalent class in org.apache.geronimo.crypto.x509

class to produce an X.509 Version 1 certificate.
Constructor:
 public X509V1CertificateGenerator() 
Method from org.apache.geronimo.crypto.jce.X509V1CertificateGenerator Summary:
generateX509Certificate,   generateX509Certificate,   generateX509Certificate,   generateX509Certificate,   reset,   setIssuerDN,   setNotAfter,   setNotBefore,   setPublicKey,   setSerialNumber,   setSignatureAlgorithm,   setSubjectDN
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.crypto.jce.X509V1CertificateGenerator Detail:
 public X509Certificate generateX509Certificate(PrivateKey key) throws SecurityException, SignatureException, InvalidKeyException 
      Deprecated!
    generate an X509 certificate, based on the current issuer and subject using the default provider "BC".
 public X509Certificate generateX509Certificate(PrivateKey key,
    SecureRandom random) throws SecurityException, SignatureException, InvalidKeyException 
      Deprecated!
    generate an X509 certificate, based on the current issuer and subject using the default provider and the passed in source of randomness
 public X509Certificate generateX509Certificate(PrivateKey key,
    String provider) throws NoSuchProviderException, SecurityException, SignatureException, InvalidKeyException 
      Deprecated!
    generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).
 public X509Certificate generateX509Certificate(PrivateKey key,
    String provider,
    SecureRandom random) throws NoSuchProviderException, SecurityException, SignatureException, InvalidKeyException 
      Deprecated!
    generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).
 public  void reset() 
      Deprecated!
    reset the generator
 public  void setIssuerDN(X509Name issuer) 
      Deprecated!
    Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate.
 public  void setNotAfter(Date date) 
      Deprecated!
 public  void setNotBefore(Date date) 
      Deprecated!
 public  void setPublicKey(PublicKey key) 
      Deprecated!
 public  void setSerialNumber(BigInteger serialNumber) 
      Deprecated!
    set the serial number for the certificate.
 public  void setSignatureAlgorithm(String signatureAlgorithm) 
      Deprecated!
 public  void setSubjectDN(X509Name subject) 
      Deprecated!
    Set the subject distinguished name. The subject describes the entity associated with the public key.