004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
commit507148866c2116c2d15dadc4b1609eb21ce88a45
authorAndreas Tobler <andreast@gcc.gnu.org>
Mon, 15 Nov 2004 20:02:08 +0000 (15 21:02 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Mon, 15 Nov 2004 20:02:08 +0000 (15 21:02 +0100)
tree397eb5fe893a7d4cba478362f2a48f749834452d
parentfcb94d103b1e287f95bb7de1c582a25223529654
004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>

Import/Merge the X.509 certificate code from Classpath.

* Makefile.am: Add imported files.
* Makefile.in: Regenerate.

2004-11-07  Casey Marshall  <csm@gnu.org>

* gnu/java/security/provider/Gnu.java(<init>): Add entries in a
priviliged action. Add new algorithms.
* gnu/java/security/provider/X509CertificateFactory.java
(engineGenerateCertificate): Chain exceptions.
(engineGenerateCertificates): Likewise.
(engineGenerateCRL): Likewise.
(engineGenerateCRLs): Likewise.
(engineGenerateCertPath): New methods.
(generateCert): Throw exception if 'inStream' is null.
(generateCRL): Likewise.
* gnu/java/security/x509/X500DistinguishedName.java: Replaced with
version from GNU Crypto CVS.
* gnu/java/security/x509/X509CRL.java: Likewise.
* gnu/java/security/x509/X509CRLEntry.java: Likewise.
* gnu/java/security/x509/X509Certificate.java: Likewise.
* java/security/cert/TrustAnchor.java: Call 'toString' and not
toRFC2253.
* gnu/java/security/provider/CollectionCertStoreImpl.java,
* gnu/java/security/provider/EncodedKeyFactory.java,
* gnu/java/security/provider/GnuDHPublicKey.java,
* gnu/java/security/provider/GnuRSAPrivateKey.java,
* gnu/java/security/provider/GnuRSAPublicKey.java,
* gnu/java/security/provider/MD2withRSA.java,
* gnu/java/security/provider/MD4withRSA.java,
* gnu/java/security/provider/MD5withRSA.java,
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
* gnu/java/security/provider/RSA.java,
* gnu/java/security/provider/RSAKeyFactory.java,
* gnu/java/security/provider/SHA1withRSA.java,
* gnu/java/security/x509/GnuPKIExtension.java,
* gnu/java/security/x509/PolicyNodeImpl.java,
* gnu/java/security/x509/Util.java,
* gnu/java/security/x509/X509CRLSelectorImpl.java,
* gnu/java/security/x509/X509CertPath.java,
* gnu/java/security/x509/X509CertSelectorImpl.java,
* gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
* gnu/java/security/x509/ext/BasicConstraints.java,
* gnu/java/security/x509/ext/CRLNumber.java,
* gnu/java/security/x509/ext/CertificatePolicies.java,
* gnu/java/security/x509/ext/ExtendedKeyUsage.java,
* gnu/java/security/x509/ext/Extension.java,
* gnu/java/security/x509/ext/GeneralNames.java,
* gnu/java/security/x509/ext/IssuerAlternativeNames.java,
* gnu/java/security/x509/ext/KeyUsage.java,
* gnu/java/security/x509/ext/PolicyConstraint.java,
* gnu/java/security/x509/ext/PolicyMappings.java,
* gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
* gnu/java/security/x509/ext/ReasonCode.java,
* gnu/java/security/x509/ext/SubjectAlternativeNames.java,
* gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.

2004-11-07  Casey Marshall  <csm@gnu.org>

* gnu/java/security/x509/X509CRL.java:
Missed import statements in previous checkin.

2004-11-07  Casey Marshall  <csm@gnu.org>

* gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
to 'X509CertificateImpl' from previous checkin.

From-SVN: r90682
43 files changed:
libjava/ChangeLog
libjava/Makefile.am
libjava/Makefile.in
libjava/gnu/java/security/provider/CollectionCertStoreImpl.java [new file with mode: 0644]
libjava/gnu/java/security/provider/EncodedKeyFactory.java [new file with mode: 0644]
libjava/gnu/java/security/provider/Gnu.java
libjava/gnu/java/security/provider/GnuDHPublicKey.java [new file with mode: 0644]
libjava/gnu/java/security/provider/GnuRSAPrivateKey.java [new file with mode: 0644]
libjava/gnu/java/security/provider/GnuRSAPublicKey.java [new file with mode: 0644]
libjava/gnu/java/security/provider/MD2withRSA.java [new file with mode: 0644]
libjava/gnu/java/security/provider/MD4withRSA.java [new file with mode: 0644]
libjava/gnu/java/security/provider/MD5withRSA.java [new file with mode: 0644]
libjava/gnu/java/security/provider/PKIXCertPathValidatorImpl.java [new file with mode: 0644]
libjava/gnu/java/security/provider/RSA.java [new file with mode: 0644]
libjava/gnu/java/security/provider/RSAKeyFactory.java [new file with mode: 0644]
libjava/gnu/java/security/provider/SHA1withRSA.java [new file with mode: 0644]
libjava/gnu/java/security/provider/X509CertificateFactory.java
libjava/gnu/java/security/x509/GnuPKIExtension.java [new file with mode: 0644]
libjava/gnu/java/security/x509/PolicyNodeImpl.java [new file with mode: 0644]
libjava/gnu/java/security/x509/Util.java [new file with mode: 0644]
libjava/gnu/java/security/x509/X500DistinguishedName.java
libjava/gnu/java/security/x509/X509CRL.java
libjava/gnu/java/security/x509/X509CRLEntry.java
libjava/gnu/java/security/x509/X509CRLSelectorImpl.java [new file with mode: 0644]
libjava/gnu/java/security/x509/X509CertPath.java [new file with mode: 0644]
libjava/gnu/java/security/x509/X509CertSelectorImpl.java [new file with mode: 0644]
libjava/gnu/java/security/x509/X509Certificate.java
libjava/gnu/java/security/x509/ext/AuthorityKeyIdentifier.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/BasicConstraints.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/CRLNumber.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/CertificatePolicies.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/ExtendedKeyUsage.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/Extension.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/GeneralNames.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/IssuerAlternativeNames.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/KeyUsage.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/PolicyConstraint.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/PolicyMappings.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/ReasonCode.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/SubjectAlternativeNames.java [new file with mode: 0644]
libjava/gnu/java/security/x509/ext/SubjectKeyIdentifier.java [new file with mode: 0644]
libjava/java/security/cert/TrustAnchor.java