| Modifier and Type | Field and Description |
|---|---|
| private OnePassSignaturePacket | |
| private PGPContentVerifier |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static OnePassSignaturePacket | |
| private void | |
| private void | |
| public void | |
| public byte[] | |
| public byte[] | |
| public int | |
| public int | |
| public long | |
| public KeyIdentifier | Returns: key identifierReturn a |
| public byte[] | |
| public int | |
| public int | |
| public void | init(PGPContentVerifierBuilderProvider
provider for a content verifier builder for the signature type of interest. verifierBuilderProvider, PGPPublicKey the public key to use for verification pubKey)Initialise the signature object for verification. |
| public boolean | Returns: true if containing, false otherwiseReturn true, if the signature contains any signatures that follow. |
| private void | |
| public boolean | Returns: booleanVerify the calculated signature against the passed in PGPSignature. |
| sigPack | back to summary |
|---|---|
| private OnePassSignaturePacket sigPack | |
| verifier | back to summary |
|---|---|
| private PGPContentVerifier verifier | |
| PGPOnePassSignature | back to summary |
|---|---|
| public PGPOnePassSignature(BCPGInputStream pIn) throws IOException, PGPException | |
| PGPOnePassSignature | back to summary |
|---|---|
| pack-priv PGPOnePassSignature(OnePassSignaturePacket sigPack) | |
| cast | back to summary |
|---|---|
| private static OnePassSignaturePacket cast(Packet packet) throws IOException | |
| checkSaltSize | back to summary |
|---|---|
| private void checkSaltSize() throws PGPException | |
| compareSalt | back to summary |
|---|---|
| private void compareSalt(PGPSignature signature) throws PGPException | |
| encode | back to summary |
|---|---|
| public void encode(OutputStream outStream) throws IOException | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException | |
| getFingerprint | back to summary |
|---|---|
| public byte[] getFingerprint() Return the issuer key fingerprint.
Only for
| |
| getHashAlgorithm | back to summary |
|---|---|
| public int getHashAlgorithm() | |
| getKeyAlgorithm | back to summary |
|---|---|
| public int getKeyAlgorithm() | |
| getKeyID | back to summary |
|---|---|
| public long getKeyID() Return the key-ID of the issuer signing key.
For
| |
| getKeyIdentifier | back to summary |
|---|---|
| public KeyIdentifier getKeyIdentifier() Return a
| |
| getSalt | back to summary |
|---|---|
| public byte[] getSalt() Return the salt used in the corresponding signature.
Only for
| |
| getSignatureType | back to summary |
|---|---|
| public int getSignatureType() | |
| getVersion | back to summary |
|---|---|
| public int getVersion() Return the packet version.
| |
| init | back to summary |
|---|---|
| public void init(PGPContentVerifierBuilderProvider verifierBuilderProvider, PGPPublicKey pubKey) throws PGPException Initialise the signature object for verification.
| |
| isContaining | back to summary |
|---|---|
| public boolean isContaining() Return true, if the signature contains any signatures that follow. A bracketing OPS is followed by additional OPS packets and is calculated over all the data between itself and its corresponding signature (it is an attestation for contained signatures).
| |
| updateWithSalt | back to summary |
|---|---|
| private void updateWithSalt() throws PGPException | |
| verify | back to summary |
|---|---|
| public boolean verify(PGPSignature pgpSig) throws PGPException Verify the calculated signature against the passed in PGPSignature.
| |