public class OnePassSignaturePacket extends ContainedPacket
COMPRESSED_DATA, EXPERIMENTAL_1, EXPERIMENTAL_2, EXPERIMENTAL_3, EXPERIMENTAL_4, LITERAL_DATA, MARKER, MOD_DETECTION_CODE, ONE_PASS_SIGNATURE, PUBLIC_KEY, PUBLIC_KEY_ENC_SESSION, PUBLIC_SUBKEY, RESERVED, SECRET_KEY, SECRET_SUBKEY, SIGNATURE, SYM_ENC_INTEGRITY_PRO, SYMMETRIC_KEY_ENC, SYMMETRIC_KEY_ENC_SESSION, TRUST, USER_ATTRIBUTE, USER_ID| Constructor and Description |
|---|
OnePassSignaturePacket(int sigType,
int hashAlgorithm,
int keyAlgorithm,
long keyID,
boolean isNested) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(BCPGOutputStream out) |
int |
getHashAlgorithm()
return the hashAlgorithm tag
|
int |
getKeyAlgorithm()
return the encryption algorithm tag
|
long |
getKeyID() |
int |
getSignatureType()
Return the signature type.
|
getEncodedpublic OnePassSignaturePacket(int sigType,
int hashAlgorithm,
int keyAlgorithm,
long keyID,
boolean isNested)
public int getSignatureType()
public int getKeyAlgorithm()
public int getHashAlgorithm()
public long getKeyID()
public void encode(BCPGOutputStream out) throws java.io.IOException
encode in class ContainedPacketjava.io.IOException