summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/base/KeyGenInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/base/KeyGenInfo.java')
-rw-r--r--base/common/src/com/netscape/certsrv/base/KeyGenInfo.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/base/common/src/com/netscape/certsrv/base/KeyGenInfo.java b/base/common/src/com/netscape/certsrv/base/KeyGenInfo.java
index 8c13fca56..1846b8a4a 100644
--- a/base/common/src/com/netscape/certsrv/base/KeyGenInfo.java
+++ b/base/common/src/com/netscape/certsrv/base/KeyGenInfo.java
@@ -27,26 +27,26 @@ import netscape.security.x509.AlgorithmId;
import netscape.security.x509.X509Key;
/**
- *
+ *
* The <code>KeyGenInfo</code> represents the information generated by
* the KeyGen tag of the HTML forms. It provides the parsing and accessing
* mechanisms.
* <p>
- *
+ *
* <pre>
* SignedPublicKeyAndChallenge ::= SEQUENCE {
* publicKeyAndChallenge PublicKeyAndChallenge,
* signatureAlgorithm AlgorithmIdentifier,
* signature BIT STRING
* }
- *
+ *
* PublicKeyAndChallenge ::= SEQUENCE {
* spki SubjectPublicKeyInfo,
* challenge IA5STRING
* }
* </pre>
- *
- *
+ *
+ *
* @version $Revision$, $Date$
*/
@@ -80,7 +80,7 @@ public class KeyGenInfo {
/**
* Construct KeyGenInfo using the SignedPublicKeyAndChallenge
* string representation.
- *
+ *
* @param spkac SignedPublicKeyAndChallenge string representation
*/
public KeyGenInfo(String spkac)
@@ -94,7 +94,7 @@ public class KeyGenInfo {
/**
* Initialize using the SPKAC string
- *
+ *
* @param spkac SPKAC string from the end user
*/
public void decode(String spkac) throws IOException {
@@ -105,7 +105,7 @@ public class KeyGenInfo {
/**
* Der encoded into buffer
- *
+ *
* @return Der encoded buffer
*/
public byte[] encode() {
@@ -114,7 +114,7 @@ public class KeyGenInfo {
/**
* Get SPKI in DerValue form
- *
+ *
* @return SPKI in DerValue form
*/
public DerValue getDerSPKI() {
@@ -123,7 +123,7 @@ public class KeyGenInfo {
/**
* Get SPKI as X509Key
- *
+ *
* @return SPKI in X509Key form
*/
public X509Key getSPKI() {
@@ -132,7 +132,7 @@ public class KeyGenInfo {
/**
* Get Challenge phrase in DerValue form
- *
+ *
* @return Challenge in DerValue form. null if none.
*/
public DerValue getDerChallenge() {
@@ -141,7 +141,7 @@ public class KeyGenInfo {
/**
* Get Challenge phrase in string format
- *
+ *
* @return challenge phrase. null if none.
*/
public String getChallenge() {
@@ -150,7 +150,7 @@ public class KeyGenInfo {
/**
* Get Signature
- *
+ *
* @return signature
*/
public byte[] getSignature() {
@@ -159,7 +159,7 @@ public class KeyGenInfo {
/**
* Get Algorithm ID
- *
+ *
* @return the algorithm id
*/
public AlgorithmId getAlgorithmId() {
@@ -168,7 +168,7 @@ public class KeyGenInfo {
/**
* Validate Signature and Challenge Phrase
- *
+ *
* @param challenge phrase; null if none
* @return true if validated; otherwise, false
*/
@@ -183,7 +183,7 @@ public class KeyGenInfo {
/**
* String representation of KenGenInfo
- *
+ *
* @return string representation of KeGenInfo
*/
public String toString() {