Signature
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final NavigableSet | |
| private int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | getSshAlgorithmName(String
- the negotiated value algo)Overrides default org.
|
| protected int | Returns: The expected number of bytes in the signature - non-positive if not initialized or not intended to be used for verification
|
| public static int | |
| public void | initVerifier(SessionContext
The session, PublicKey SessionContext for calling this method - may be null if not called within a
session contextThe key)PublicKey to be used for verifying signaturesOverrides org. Implements org.
|
| public boolean | verify(SessionContext
The session, byte[] SessionContext for calling this method - may be null if not called within a
session contextThe signed data sig)Implements org. Verify against the given signature |
| sshAlgorithmName | back to summary |
|---|---|
| private final String sshAlgorithmName | |
| SUPPORTED_KEY_TYPES | back to summary |
|---|---|
| public static final NavigableSet<String> SUPPORTED_KEY_TYPES | |
| verifierSignatureSize | back to summary |
|---|---|
| private int verifierSignatureSize | |
| SignatureRSA | back to summary |
|---|---|
| protected SignatureRSA(String algorithm, String sshAlgorithmName) | |
| getSshAlgorithmName | back to summary |
|---|---|
| public String getSshAlgorithmName(String algo) Overrides default org.
| |
| getVerifierSignatureSize | back to summary |
|---|---|
protected int getVerifierSignatureSize()
| |
| getVerifierSignatureSize | back to summary |
|---|---|
| public static int getVerifierSignatureSize(RSAKey key) | |
| initVerifier | back to summary |
|---|---|
| public void initVerifier(SessionContext session, PublicKey key) throws Exception Overrides org. Implements org.
| |
| verify | back to summary |
|---|---|
| public boolean verify(SessionContext session, byte[] sig) throws Exception Implements org. Doc from org. Verify against the given signature
| |