| Modifier and Type | Field and Description |
|---|---|
| private byte | |
| private int | |
| private OutputStream | |
| private OnePassSignaturePacket | |
| private PGPContentVerifier |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private static OnePassSignaturePacket | |
| public void | |
| public byte[] | |
| public int | |
| public int | |
| public long | |
| 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 is contains any signatures that follow. |
| public void | |
| public void | |
| public void | |
| public boolean | Returns: booleanVerify the calculated signature against the passed in PGPSignature. |
| lastb | back to summary |
|---|---|
| private byte lastb | |
| signatureType | back to summary |
|---|---|
| private int signatureType | |
| sigOut | back to summary |
|---|---|
| private OutputStream sigOut | |
| 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) throws PGPException | |
| blockUpdate | back to summary |
|---|---|
| private void blockUpdate(byte[] block, int off, int len) | |
| byteUpdate | back to summary |
|---|---|
| private void byteUpdate(byte b) | |
| cast | back to summary |
|---|---|
| private static OnePassSignaturePacket cast(Packet packet) throws IOException | |
| encode | back to summary |
|---|---|
| public void encode(OutputStream outStream) throws IOException | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException | |
| getHashAlgorithm | back to summary |
|---|---|
| public int getHashAlgorithm() | |
| getKeyAlgorithm | back to summary |
|---|---|
| public int getKeyAlgorithm() | |
| getKeyID | back to summary |
|---|---|
| public long getKeyID() | |
| getSignatureType | back to summary |
|---|---|
| public int getSignatureType() | |
| 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 is contains any signatures that follow. An 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).
| |
| update | back to summary |
|---|---|
| public void update(byte b) | |
| update | back to summary |
|---|---|
| public void update(byte[] bytes) | |
| update | back to summary |
|---|---|
| public void update(byte[] bytes, int off, int length) | |
| verify | back to summary |
|---|---|
| public boolean verify(PGPSignature pgpSig) throws PGPException Verify the calculated signature against the passed in PGPSignature.
| |