SignedPublicKeyAndChallenge ::= SEQUENCE {
publicKeyAndChallenge PublicKeyAndChallenge,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING
}
PublicKey's encoded-format has to be X.509.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv DERBitString | |
| pack-priv AlgorithmIdentifier | |
| pack-priv PublicKey | |
| pack-priv AlgorithmIdentifier | |
| pack-priv byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public AlgorithmIdentifier | |
| private ASN1Primitive | |
| public PublicKey | |
| private static ASN1Sequence | |
| public AlgorithmIdentifier | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. |
| public boolean |
| challenge | back to summary |
|---|---|
| pack-priv String challenge | |
| content | back to summary |
|---|---|
| pack-priv DERBitString content | |
| keyAlg | back to summary |
|---|---|
| pack-priv AlgorithmIdentifier keyAlg | |
| pubkey | back to summary |
|---|---|
| pack-priv PublicKey pubkey | |
| sigAlg | back to summary |
|---|---|
| pack-priv AlgorithmIdentifier sigAlg | |
| sigBits | back to summary |
|---|---|
| pack-priv byte[] sigBits | |
| NetscapeCertRequest | back to summary |
|---|---|
| public NetscapeCertRequest(byte[] req) throws IOException | |
| NetscapeCertRequest | back to summary |
|---|---|
| public NetscapeCertRequest(ASN1Sequence spkac) | |
| NetscapeCertRequest | back to summary |
|---|---|
| public NetscapeCertRequest(String challenge, AlgorithmIdentifier signing_alg, PublicKey pub_key) throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException | |
| getChallenge | back to summary |
|---|---|
| public String getChallenge() | |
| getKeyAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getKeyAlgorithm() | |
| getKeySpec | back to summary |
|---|---|
| private ASN1Primitive getKeySpec() throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException | |
| getPublicKey | back to summary |
|---|---|
| public PublicKey getPublicKey() | |
| getReq | back to summary |
|---|---|
| private static ASN1Sequence getReq(byte[] r) throws IOException | |
| getSigningAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getSigningAlgorithm() | |
| setChallenge | back to summary |
|---|---|
| public void setChallenge(String value) | |
| setKeyAlgorithm | back to summary |
|---|---|
| public void setKeyAlgorithm(AlgorithmIdentifier value) | |
| setPublicKey | back to summary |
|---|---|
| public void setPublicKey(PublicKey value) | |
| setSigningAlgorithm | back to summary |
|---|---|
| public void setSigningAlgorithm(AlgorithmIdentifier value) | |
| sign | back to summary |
|---|---|
| public void sign(PrivateKey priv_key) throws NoSuchAlgorithmException, InvalidKeyException, SignatureException, NoSuchProviderException, InvalidKeySpecException | |
| sign | back to summary |
|---|---|
| public void sign(PrivateKey priv_key, SecureRandom rand) throws NoSuchAlgorithmException, InvalidKeyException, SignatureException, NoSuchProviderException, InvalidKeySpecException | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |
| verify | back to summary |
|---|---|
| public boolean verify(String challenge) throws NoSuchAlgorithmException, InvalidKeyException, SignatureException, NoSuchProviderException | |