Skip navigation links
A C D E G I K L M N O P R S T U V W 

A

AuthenticodeTimestamper - Class in net.jsign.timestamp
Legacy Authenticode timestamping.
AuthenticodeTimestamper() - Constructor for class net.jsign.timestamp.AuthenticodeTimestamper
 

C

CertificateTableEntry - Class in net.jsign.pe
Entry of the certificate table.
CertificateTableEntry(CMSSignedData) - Constructor for class net.jsign.pe.CertificateTableEntry
 
CertificateType - Enum in net.jsign.pe
Type of a WIN_CERTIFICATE structure.
close() - Method in class net.jsign.pe.PEFile
 
computeChecksum() - Method in class net.jsign.pe.PEFile
Compute the checksum of the image file.
computeDigest(DigestAlgorithm) - Method in class net.jsign.pe.PEFile
Compute the checksum of the file using the specified digest algorithm.
create(TimestampingMode) - Static method in class net.jsign.timestamp.Timestamper
Returns the timestamper for the specified mode.

D

DataDirectory - Class in net.jsign.pe
Entry of the data directory.
DataDirectoryType - Enum in net.jsign.pe
Types of structures pointed in the "RVA & Sizes" table (data directory).
DigestAlgorithm - Enum in net.jsign
Digest algorithm.

E

erase() - Method in class net.jsign.pe.DataDirectory
Fill the data directory with zeros.
exists() - Method in class net.jsign.pe.DataDirectory
 

G

getAddressOfEntryPoint() - Method in class net.jsign.pe.PEFile
The address of the entry point relative to the image base when the executable file is loaded into memory.
getBaseOfCode() - Method in class net.jsign.pe.PEFile
The address that is relative to the image base of the beginning-of-code section when it is loaded into memory.
getBaseOfData() - Method in class net.jsign.pe.PEFile
The address that is relative to the image base of the beginning-of-data section when it is loaded into memory (PE32 only).
getCharacteristics() - Method in class net.jsign.pe.PEFile
The flags that indicate the attributes of the file.
getCharacteristics() - Method in class net.jsign.pe.Section
The flags that describe the characteristics of the section.
getCheckSum() - Method in class net.jsign.pe.PEFile
The image file checksum.
getDataDirectory(DataDirectoryType) - Method in class net.jsign.pe.PEFile
Returns the data directory of the specified type.
getDefault() - Static method in enum net.jsign.DigestAlgorithm
Return the default algorithm (currently SHA-256, SHA-1 has been deprecated since January 1st 2016).
getDllCharacteristics() - Method in class net.jsign.pe.PEFile
 
getExtraCertificates(CMSSignedData) - Method in class net.jsign.timestamp.AuthenticodeTimestamper
 
getExtraCertificates(CMSSignedData) - Method in class net.jsign.timestamp.Timestamper
Return the certificate chain of the timestamping authority if it isn't included with the counter signature in the unsigned attributes.
getFileAlignment() - Method in class net.jsign.pe.PEFile
The alignment factor (in bytes) that is used to align the raw data of sections in the image file.
getFormat() - Method in class net.jsign.pe.PEFile
 
getImageBase() - Method in class net.jsign.pe.PEFile
The preferred address of the first byte of image when loaded into memory; must be a multiple of 64 K.
getLoaderFlags() - Method in class net.jsign.pe.PEFile
Reserved, must be zero.
getMachineType() - Method in class net.jsign.pe.PEFile
 
getMajorImageVersion() - Method in class net.jsign.pe.PEFile
The major version number of the image.
getMajorLinkerVersion() - Method in class net.jsign.pe.PEFile
The linker major version number.
getMajorOperatingSystemVersion() - Method in class net.jsign.pe.PEFile
The major version number of the required operating system.
getMajorSubsystemVersion() - Method in class net.jsign.pe.PEFile
The major version number of the subsystem.
getMessageDigest() - Method in enum net.jsign.DigestAlgorithm
Return a MessageDigest for this algorithm.
getMinorImageVersion() - Method in class net.jsign.pe.PEFile
The minor version number of the image.
getMinorLinkerVersion() - Method in class net.jsign.pe.PEFile
The linker minor version number.
getMinorOperatingSystemVersion() - Method in class net.jsign.pe.PEFile
The minor version number of the required operating system.
getMinorSubsystemVersion() - Method in class net.jsign.pe.PEFile
The minor version number of the subsystem.
getName() - Method in class net.jsign.pe.Section
An 8-byte, null-padded UTF-8 encoded string.
getNumberOfLineNumbers() - Method in class net.jsign.pe.Section
The number of line-number entries for the section.
getNumberOfRelocations() - Method in class net.jsign.pe.Section
The number of relocation entries for the section.
getNumberOfRvaAndSizes() - Method in class net.jsign.pe.PEFile
The number of data-directory entries in the remainder of the optional header.
getNumberOfSections() - Method in class net.jsign.pe.PEFile
The number of sections.
getNumberOfSymbols() - Method in class net.jsign.pe.PEFile
The number of entries in the symbol table.
getPointerToLineNumbers() - Method in class net.jsign.pe.Section
The file pointer to the beginning of line-number entries for the section.
getPointerToRawData() - Method in class net.jsign.pe.Section
The file pointer to the first page of the section within the COFF file.
getPointerToRelocations() - Method in class net.jsign.pe.Section
The file pointer to the beginning of relocation entries for the section.
getPointerToSymbolTable() - Method in class net.jsign.pe.PEFile
The file offset of the COFF symbol table, or zero if no COFF symbol table is present.
getSectionAlignment() - Method in class net.jsign.pe.PEFile
The alignment (in bytes) of sections when they are loaded into memory.
getSections() - Method in class net.jsign.pe.PEFile
 
getSignature() - Method in class net.jsign.pe.CertificateTableEntry
 
getSignatures() - Method in class net.jsign.pe.PEFile
Returns the authenticode signatures on the file.
getSize() - Method in class net.jsign.pe.CertificateTableEntry
 
getSize() - Method in class net.jsign.pe.DataDirectory
 
getSizeOfCode() - Method in class net.jsign.pe.PEFile
The size of the code (text) section, or the sum of all code sections if there are multiple sections.
getSizeOfHeaders() - Method in class net.jsign.pe.PEFile
The combined size of an MS DOS stub, PE header, and section headers rounded up to a multiple of FileAlignment.
getSizeOfHeapCommit() - Method in class net.jsign.pe.PEFile
The size of the local heap space to commit.
getSizeOfHeapReserve() - Method in class net.jsign.pe.PEFile
The size of the local heap space to reserve.
getSizeOfImage() - Method in class net.jsign.pe.PEFile
The size (in bytes) of the image, including all headers, as the image is loaded in memory.
getSizeOfInitializedData() - Method in class net.jsign.pe.PEFile
The size of the initialized data section, or the sum of all such sections if there are multiple data sections.
getSizeOfOptionalHeader() - Method in class net.jsign.pe.PEFile
The size of the optional header, which is required for executable files but not for object files.
getSizeOfRawData() - Method in class net.jsign.pe.Section
The size of the section (for object files) or the size of the initialized data on disk (for image files).
getSizeOfStackCommit() - Method in class net.jsign.pe.PEFile
The size of the stack to commit.
getSizeOfStackReserve() - Method in class net.jsign.pe.PEFile
The size of the stack to reserve.
getSizeOfUninitializedData() - Method in class net.jsign.pe.PEFile
The size of the uninitialized data section (BSS), or the sum of all such sections if there are multiple BSS sections.
getSubsystem() - Method in class net.jsign.pe.PEFile
The subsystem that is required to run this image.
getTimeDateStamp() - Method in class net.jsign.pe.PEFile
The low 32 bits of the number of seconds since 00:00 January 1, 1970 (a C runtime time_t value), that indicates when the file was created.
getUnsignedAttributes(CMSSignedData) - Method in class net.jsign.timestamp.AuthenticodeTimestamper
 
getUnsignedAttributes(CMSSignedData) - Method in class net.jsign.timestamp.RFC3161Timestamper
 
getUnsignedAttributes(CMSSignedData) - Method in class net.jsign.timestamp.Timestamper
Return the counter signature to be added as an unsigned attribute.
getValue() - Method in enum net.jsign.pe.CertificateType
 
getVirtualAddress() - Method in class net.jsign.pe.DataDirectory
 
getVirtualAddress() - Method in class net.jsign.pe.Section
For executable images, the address of the first byte of the section relative to the image base when the section is loaded into memory.
getVirtualSize() - Method in class net.jsign.pe.Section
The total size of the section when loaded into memory.
getWin32VersionValue() - Method in class net.jsign.pe.PEFile
Reserved, must be zero.

I

id - Variable in enum net.jsign.DigestAlgorithm
The JCE name of the algorithm
isTrailing() - Method in class net.jsign.pe.DataDirectory
Tells if the data directory is at the end of the file.

K

KeyStoreUtils - Class in net.jsign
Helper class for loading KeyStores (JKS, PKCS#12 or PKCS#11).

L

load(File, String, String, Provider) - Static method in class net.jsign.KeyStoreUtils
Load the keystore from the specified file.
load(File, String) - Static method in class net.jsign.PrivateKeyUtils
Load the private key from the specified file.

M

MachineType - Enum in net.jsign.pe
Target architecture of an executable file.
modifySignedData(CMSSignedData, AttributeTable, Collection<X509CertificateHolder>) - Method in class net.jsign.timestamp.Timestamper
 

N

net.jsign - package net.jsign
 
net.jsign.pe - package net.jsign.pe
 
net.jsign.timestamp - package net.jsign.timestamp
 

O

of(String) - Static method in enum net.jsign.DigestAlgorithm
Parse the specified value and returns the corresponding digest algorithm.
of(ASN1ObjectIdentifier) - Static method in enum net.jsign.DigestAlgorithm
Return the algorithm matching the specified object identifier.
of(String) - Static method in enum net.jsign.timestamp.TimestampingMode
 
oid - Variable in enum net.jsign.DigestAlgorithm
The object identifier of the algorithm

P

pad(int) - Method in class net.jsign.pe.PEFile
Increase the size of the file up to a size that is a multiple of the specified value.
PEFile - Class in net.jsign.pe
Portable Executable File.
PEFile(File) - Constructor for class net.jsign.pe.PEFile
Create a PEFile from the specified file.
PEFile(SeekableByteChannel) - Constructor for class net.jsign.pe.PEFile
Create a PEFile from the specified channel.
PEFormat - Enum in net.jsign.pe
Portable Executable Format.
PESigner - Class in net.jsign
Sign a portable executable file.
PESigner(Certificate[], PrivateKey) - Constructor for class net.jsign.PESigner
Create a PESigner with the specified certificate chain and private key.
PESigner(KeyStore, String, String) - Constructor for class net.jsign.PESigner
Create a PESigner with a certificate chain and private key from the specified keystore.
printInfo(OutputStream) - Method in class net.jsign.pe.PEFile
Print detailed informations about the PE file.
printInfo(PrintWriter) - Method in class net.jsign.pe.PEFile
Print detailed informations about the PE file.
PrivateKeyUtils - Class in net.jsign
Helper class for loading private keys (PVK or PEM, encrypted or not).

R

retries - Variable in class net.jsign.timestamp.Timestamper
The number of retries
retryWait - Variable in class net.jsign.timestamp.Timestamper
Seconds to wait between retries
RFC3161Timestamper - Class in net.jsign.timestamp
RFC 3161 timestamping.
RFC3161Timestamper() - Constructor for class net.jsign.timestamp.RFC3161Timestamper
 

S

Section - Class in net.jsign.pe
Section of an executable file.
SectionFlag - Enum in net.jsign.pe
Characteristics of the section of an executable file.
setRetries(int) - Method in class net.jsign.timestamp.Timestamper
Set the number of retries.
setRetryWait(int) - Method in class net.jsign.timestamp.Timestamper
Set the number of seconds to wait between retries.
setSignature(CMSSignedData) - Method in class net.jsign.pe.CertificateTableEntry
 
setURL(String) - Method in class net.jsign.timestamp.Timestamper
 
setURLs(String...) - Method in class net.jsign.timestamp.Timestamper
 
sign(PEFile) - Method in class net.jsign.PESigner
Sign the specified executable file.
Subsystem - Enum in net.jsign.pe
The subsystem of an executable file.

T

timestamp(DigestAlgorithm, byte[]) - Method in class net.jsign.timestamp.AuthenticodeTimestamper
 
timestamp(DigestAlgorithm, byte[]) - Method in class net.jsign.timestamp.RFC3161Timestamper
 
timestamp(DigestAlgorithm, CMSSignedData) - Method in class net.jsign.timestamp.Timestamper
Timestamp the specified signature.
timestamp(DigestAlgorithm, byte[]) - Method in class net.jsign.timestamp.Timestamper
 
Timestamper - Class in net.jsign.timestamp
Interface for a timestamping service.
Timestamper() - Constructor for class net.jsign.timestamp.Timestamper
 
TimestampingException - Exception in net.jsign.timestamp
Timestamping exception.
TimestampingException(String) - Constructor for exception net.jsign.timestamp.TimestampingException
 
TimestampingException(String, Throwable) - Constructor for exception net.jsign.timestamp.TimestampingException
 
TimestampingMode - Enum in net.jsign.timestamp
Enumeration of the timestamping modes.
toBytes() - Method in class net.jsign.pe.CertificateTableEntry
 
tsaurl - Variable in class net.jsign.timestamp.Timestamper
The URL of the current timestamping service
tsaurls - Variable in class net.jsign.timestamp.Timestamper
The URLs of the timestamping services

U

updateChecksum() - Method in class net.jsign.pe.PEFile
 

V

valueOf(String) - Static method in enum net.jsign.DigestAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.jsign.pe.CertificateType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.jsign.pe.DataDirectoryType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.jsign.pe.MachineType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.jsign.pe.PEFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.jsign.pe.SectionFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.jsign.pe.Subsystem
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.jsign.timestamp.TimestampingMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.jsign.DigestAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.jsign.pe.CertificateType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.jsign.pe.DataDirectoryType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.jsign.pe.MachineType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.jsign.pe.PEFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.jsign.pe.SectionFlag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.jsign.pe.Subsystem
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.jsign.timestamp.TimestampingMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withDigestAlgorithm(DigestAlgorithm) - Method in class net.jsign.PESigner
Set the digest algorithm to use (SHA-256 by default)
withProgramName(String) - Method in class net.jsign.PESigner
Set the program name embedded in the signature.
withProgramURL(String) - Method in class net.jsign.PESigner
Set the program URL embedded in the signature.
withSignatureAlgorithm(String) - Method in class net.jsign.PESigner
Explicitly sets the signature algorithm to use.
withSignatureAlgorithm(String, String) - Method in class net.jsign.PESigner
Explicitly sets the signature algorithm and provider to use.
withSignatureAlgorithm(String, Provider) - Method in class net.jsign.PESigner
Explicitly sets the signature algorithm and provider to use.
withSignatureProvider(Provider) - Method in class net.jsign.PESigner
Set the signature provider to use.
withSignaturesReplaced(boolean) - Method in class net.jsign.PESigner
Enable or disable the replacement of the previous signatures (disabled by default).
withTimestamper(Timestamper) - Method in class net.jsign.PESigner
Set the Timestamper implementation.
withTimestamping(boolean) - Method in class net.jsign.PESigner
Enable or disable the timestamping (enabled by default).
withTimestampingAuthority(String) - Method in class net.jsign.PESigner
Set the URL of the timestamping authority.
withTimestampingAuthority(String...) - Method in class net.jsign.PESigner
Set the URL of the timestamping authority.
withTimestampingMode(TimestampingMode) - Method in class net.jsign.PESigner
RFC3161 or Authenticode (Authenticode by default).
withTimestampingRetries(int) - Method in class net.jsign.PESigner
Set the number of retries for timestamping.
withTimestampingRetryWait(int) - Method in class net.jsign.PESigner
Set the number of seconds to wait between timestamping retries.
write(long, int) - Method in class net.jsign.pe.DataDirectory
 
writeDataDirectory(DataDirectoryType, byte[]) - Method in class net.jsign.pe.PEFile
Writes the data directory of the specified type.
A C D E G I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2012–2019. All rights reserved.