|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.dstc.security.pki.NetscapeCertificationRequest
A class representing a NetscapeCertificationRequest sent from a Netscape browser upon generation of a public key pair
Implements the ASN.1 structure PublicKeyAndChallenge.
PublicKeyAndChallenge ::= SEQUENCE {
spki SubjectPublicKeyInfo,
challenge IA5STRING
}
SignedPublicKeyAndChallenge ::= SEQUENCE {
publicKeyAndChallenge PublicKeyAndChallenge,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING
}
| Constructor Summary | |
NetscapeCertificationRequest(byte[] encoded)
Constructs a NetscapeCertificationRequest from a DER encoding of a netscape certification request |
|
NetscapeCertificationRequest(InputStream is)
Constructs a NetscapeCertificationRequest from a DER encoding of a netscape certification request |
|
| Method Summary | |
byte[] |
getEncoded()
Return the default encoding of this object. |
byte[] |
getEncodedPublicKey()
Returns the DER encoding of the SubjectPublicKeyInfo for this NetscapeCertificationRequest object. |
String |
getKeyAlgName()
Returns the key algorithm name for this NetscapeCertificationRequest |
PublicKey |
getPublicKey()
Returns the PublicKey for this NetscapeCertificationRequest |
String |
getSigAlgName()
Returns the signature algorithm name for this NetscapeCertificationRequest |
byte[] |
getSignature()
Returns the signature for this NetscapeCertificationRequest |
String |
getSubjectName()
Returns the subject name for this NetscapeCertificationRequest ie. |
boolean |
verifySignature()
Verifies the signature in this CertificationRequest |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public NetscapeCertificationRequest(byte[] encoded)
throws PKIException
encoded - the DER encoding of this
NetscapeCertificationRequest object.
public NetscapeCertificationRequest(InputStream is)
throws PKIException
encoded - the DER encoding of this
NetscapeCertificationRequest object.| Method Detail |
public byte[] getEncodedPublicKey()
NetscapeCertificationRequest object.public byte[] getEncoded()
public PublicKey getPublicKey()
public byte[] getSignature()
public String getSigAlgName()
public String getSubjectName()
public String getKeyAlgName()
public boolean verifySignature()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||