| Modifier and Type | Field and Description |
|---|---|
| private MessageDigest | |
| private static final int | |
| private final String | |
| private SecurityKeyPublicKey |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract Signature | |
| protected abstract String | |
| public void | initSigner(SessionContext
The session, PrivateKey SessionContext for calling this method - may be null if not called within a
session contextThe key)PrivateKey to be used for signingImplements org.
|
| 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 signaturesImplements org.
|
| public byte[] | sign(SessionContext
The session)SessionContext for calling this method - may be null if not called within a
session contextImplements org. Compute the signature |
| public void | update(SessionContext
The session, byte[] SessionContext for calling this method - may be null if not called within a
session contextThe hash data buffer hash, int Offset of hash data in buffer off, int Length of hash data len)Implements org. Update the computed signature with the given data |
| 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 |
| challengeDigest | back to summary |
|---|---|
| private MessageDigest challengeDigest | |
| FLAG_USER_PRESENCE | back to summary |
|---|---|
| private static final int FLAG_USER_PRESENCE | |
| keyType | back to summary |
|---|---|
| private final String keyType | |
| publicKey | back to summary |
|---|---|
| private SecurityKeyPublicKey<?> publicKey | |
| AbstractSecurityKeySignature | back to summary |
|---|---|
| protected AbstractSecurityKeySignature(String keyType) | |
| getDelegateSignature | back to summary |
|---|---|
| protected abstract Signature getDelegateSignature() | |
| getSignatureKeyType | back to summary |
|---|---|
| protected abstract String getSignatureKeyType() | |
| initSigner | back to summary |
|---|---|
| public void initSigner(SessionContext session, PrivateKey key) Implements org.
| |
| initVerifier | back to summary |
|---|---|
| public void initVerifier(SessionContext session, PublicKey key) throws GeneralSecurityException Implements org.
| |
| sign | back to summary |
|---|---|
| public byte[] sign(SessionContext session) Implements org. Doc from org. Compute the signature
| |
| update | back to summary |
|---|---|
| public void update(SessionContext session, byte[] hash, int off, int len) Implements org. Doc from org. Update the computed signature with the given data
| |
| verify | back to summary |
|---|---|
| public boolean verify(SessionContext session, byte[] sig) throws Exception Implements org. Doc from org. Verify against the given signature
| |