diff options
Diffstat (limited to 'base/util/src/netscape/security/pkcs/PKCS10.java')
-rw-r--r-- | base/util/src/netscape/security/pkcs/PKCS10.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/base/util/src/netscape/security/pkcs/PKCS10.java b/base/util/src/netscape/security/pkcs/PKCS10.java index a6ddd203f..2d1c8eadb 100644 --- a/base/util/src/netscape/security/pkcs/PKCS10.java +++ b/base/util/src/netscape/security/pkcs/PKCS10.java @@ -43,28 +43,28 @@ import netscape.security.x509.X509Key; * the entity which created the certificate request. These cert requests * basically consist of the subject's X.500 name and public key, signed * using the corresponding private key. - * + * * The ASN.1 syntax for a Certification Request is: - * + * * <pre> * CertificationRequest ::= SEQUENCE { * certificationRequestInfo CertificationRequestInfo, * signatureAlgorithm SignatureAlgorithmIdentifier, * signature Signature * } - * + * * SignatureAlgorithmIdentifier ::= AlgorithmIdentifier * Signature ::= BIT STRING - * + * * CertificationRequestInfo ::= SEQUENCE { * version Version, * subject Name, * subjectPublicKeyInfo SubjectPublicKeyInfo, * attributes [0] IMPLICIT Attributes - * } + * } * Attributes ::= SET OF Attribute * </pre> - * + * * @author David Brownell * @author Amit Kapoor * @author Hemma Prafullchandra @@ -75,7 +75,7 @@ public class PKCS10 { * Constructs an unsigned PKCS #10 certificate request. Before this * request may be used, it must be encoded and signed. Then it * must be retrieved in some conventional format (e.g. string). - * + * * @param publicKey the public key that should be placed * into the certificate generated by the CA. */ @@ -88,7 +88,7 @@ public class PKCS10 { * Constructs an unsigned PKCS #10 certificate request. Before this * request may be used, it must be encoded and signed. Then it * must be retrieved in some conventional format (e.g. string). - * + * * @param publicKey the public key that should be placed * into the certificate generated by the CA. * @param attributes additonal set of PKCS10 attributes requested @@ -107,7 +107,7 @@ public class PKCS10 { * the request's signature as it does so. This constructor would * typically be used by a Certificate Authority, from which a new * certificate would then be constructed. - * + * * @param data the DER-encoded PKCS #10 request. * @param sigver boolean specifies signature verification enabled or not * @exception IOException for low level errors reading the data @@ -207,7 +207,7 @@ public class PKCS10 { /** * Create the signed certificate request. This will later be * retrieved in either string or binary format. - * + * * @param requester identifies the signer (by X.500 name) * and provides the private key used to sign. * @exception IOException on errors. @@ -284,7 +284,7 @@ public class PKCS10 { /** * Returns the encoded and signed certificate request as a * DER-encoded byte array. - * + * * @return the certificate request, or null if encodeAndSign() * has not yet been called. */ @@ -299,7 +299,7 @@ public class PKCS10 { * used this for some time. Some certificate authorities expect some * more information, in particular contact information for the web * server administrator. - * + * * @param out the print stream where the certificate request * will be printed. * @exception IOException when an output operation failed |