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

A

AuthenticodeSigner - Class in net.jsign
Sign a file with Authenticode.
AuthenticodeSigner(Certificate[], PrivateKey) - Constructor for class net.jsign.AuthenticodeSigner
Create a signer with the specified certificate chain and private key.
AuthenticodeSigner(KeyStore, String, String) - Constructor for class net.jsign.AuthenticodeSigner
Create a signer with a certificate chain and private key from the specified keystore.
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.msi.MSIFile
Closes the file
close() - Method in class net.jsign.pe.PEFile
Closes the file
computeChecksum() - Method in class net.jsign.pe.PEFile
Compute the checksum of the image file.
computeDigest(MessageDigest) - Method in class net.jsign.msi.MSIFile
 
computeDigest(MessageDigest) - Method in class net.jsign.pe.PEFile
Compute the digest of the file.
computeDigest(DigestAlgorithm) - Method in class net.jsign.pe.PEFile
Compute the checksum of the file using the specified digest algorithm.
computeDigest(MessageDigest) - Method in interface net.jsign.Signable
Computes the digest of the file.
create(TimestampingMode) - Static method in class net.jsign.timestamp.Timestamper
Returns the timestamper for the specified mode.
createIndirectData(DigestAlgorithm) - Method in class net.jsign.msi.MSIFile
 
createIndirectData(DigestAlgorithm) - Method in class net.jsign.pe.PEFile
 
createIndirectData(DigestAlgorithm) - Method in interface net.jsign.Signable
Creates the SpcIndirectDataContent structure containing the digest of the file.

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
 
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.msi.MSIFile
 
getSignatures() - Method in class net.jsign.pe.PEFile
 
getSignatures() - Method in interface net.jsign.Signable
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.
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.

H

hasExtendedSignature() - Method in class net.jsign.msi.MSIFile
Tells if the MSI file has an extended signature (MsiDigitalSignatureEx) containing a hash of the streams metadata (name, size, date).

I

id - Variable in enum net.jsign.DigestAlgorithm
The JCE name of the algorithm
isMSIFile(File) - Static method in class net.jsign.msi.MSIFile
Tells if the specified file is a MSI file.
isPEFile(File) - Static method in class net.jsign.pe.PEFile
Tells if the specified file is a Portable Executable file.
isTrailing() - Method in class net.jsign.pe.DataDirectory
Tells if the data directory is at the end of the file.

J

JScript - Class in net.jsign.script
A JScript file.
JScript() - Constructor for class net.jsign.script.JScript
Create a JScript.
JScript(File) - Constructor for class net.jsign.script.JScript
Create a JScript from the specified file and load its content.
JScript(File, Charset) - Constructor for class net.jsign.script.JScript
Create a JScript from the specified file and load its content.

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.
MSIFile - Class in net.jsign.msi
A Microsoft Installer package.
MSIFile(File) - Constructor for class net.jsign.msi.MSIFile
Create a MSIFile from the specified file.
MSIFile(SeekableByteChannel) - Constructor for class net.jsign.msi.MSIFile
Create a MSIFile from the specified channel.

N

net.jsign - package net.jsign
 
net.jsign.msi - package net.jsign.msi
 
net.jsign.pe - package net.jsign.pe
 
net.jsign.script - package net.jsign.script
 
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(File) - Static method in interface net.jsign.Signable
Returns a signable object for the file specified.
of(File, Charset) - Static method in interface net.jsign.Signable
Returns a signable object for the file specified.
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.
PowerShellScript - Class in net.jsign.script
A PowerShell script.
PowerShellScript() - Constructor for class net.jsign.script.PowerShellScript
Create a PowerShell script.
PowerShellScript(File) - Constructor for class net.jsign.script.PowerShellScript
Create a PowerShell script from the specified file and load its content.
PowerShellScript(File, Charset) - Constructor for class net.jsign.script.PowerShellScript
Create a PowerShell script from the specified file and load its content.
PowerShellXMLScript - Class in net.jsign.script
A PowerShell script in XML format (.ps1xml).
PowerShellXMLScript() - Constructor for class net.jsign.script.PowerShellXMLScript
Create a PowerShell script.
PowerShellXMLScript(File) - Constructor for class net.jsign.script.PowerShellXMLScript
Create a PowerShell script from the specified file and load its content.
PowerShellXMLScript(File, Charset) - Constructor for class net.jsign.script.PowerShellXMLScript
Create a PowerShell script from the specified file and load its content.
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

RFC3161Timestamper - Class in net.jsign.timestamp
RFC 3161 timestamping.
RFC3161Timestamper() - Constructor for class net.jsign.timestamp.RFC3161Timestamper
 

S

save() - Method in class net.jsign.msi.MSIFile
 
save() - Method in class net.jsign.pe.PEFile
 
save() - Method in interface net.jsign.Signable
Saves the file.
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.msi.MSIFile
 
setSignature(CMSSignedData) - Method in class net.jsign.pe.CertificateTableEntry
 
setSignature(CMSSignedData) - Method in class net.jsign.pe.PEFile
 
setSignature(CMSSignedData) - Method in interface net.jsign.Signable
Sets the signature of the file, overwriting the previous one.
setURL(String) - Method in class net.jsign.timestamp.Timestamper
Set the URL of the timestamping service.
setURLs(String...) - Method in class net.jsign.timestamp.Timestamper
Set the URLs of the timestamping services.
sign(Signable) - Method in class net.jsign.AuthenticodeSigner
Sign the specified file.
Signable - Interface in net.jsign
A file that can be signed with Authenticode.
Subsystem - Enum in net.jsign.pe
The subsystem of an executable file.

T

timestamp(DigestAlgorithm, CMSSignedData) - Method in class net.jsign.timestamp.Timestamper
Timestamp the specified signature.
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
 

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.
VBScript - Class in net.jsign.script
A Visual Basic script.
VBScript() - Constructor for class net.jsign.script.VBScript
Create a Visual Basic script.
VBScript(File) - Constructor for class net.jsign.script.VBScript
Create a Visual Basic script from the specified file and load its content.
VBScript(File, Charset) - Constructor for class net.jsign.script.VBScript
Create a Visual Basic script from the specified file and load its content.

W

WindowsScript - Class in net.jsign.script
A Windows script file (.wsf).
WindowsScript() - Constructor for class net.jsign.script.WindowsScript
Create a Windows script.
WindowsScript(File) - Constructor for class net.jsign.script.WindowsScript
Create a Windows script from the specified file and load its content.
WindowsScript(File, Charset) - Constructor for class net.jsign.script.WindowsScript
Create a Windows script from the specified file and load its content.
withDigestAlgorithm(DigestAlgorithm) - Method in class net.jsign.AuthenticodeSigner
Set the digest algorithm to use (SHA-256 by default)
withProgramName(String) - Method in class net.jsign.AuthenticodeSigner
Set the program name embedded in the signature.
withProgramURL(String) - Method in class net.jsign.AuthenticodeSigner
Set the program URL embedded in the signature.
withSignatureAlgorithm(String) - Method in class net.jsign.AuthenticodeSigner
Explicitly sets the signature algorithm to use.
withSignatureAlgorithm(String, String) - Method in class net.jsign.AuthenticodeSigner
Explicitly sets the signature algorithm and provider to use.
withSignatureAlgorithm(String, Provider) - Method in class net.jsign.AuthenticodeSigner
Explicitly sets the signature algorithm and provider to use.
withSignatureProvider(Provider) - Method in class net.jsign.AuthenticodeSigner
Set the signature provider to use.
withSignaturesReplaced(boolean) - Method in class net.jsign.AuthenticodeSigner
Enable or disable the replacement of the previous signatures (disabled by default).
withTimestamper(Timestamper) - Method in class net.jsign.AuthenticodeSigner
Set the Timestamper implementation.
withTimestamping(boolean) - Method in class net.jsign.AuthenticodeSigner
Enable or disable the timestamping (enabled by default).
withTimestampingAuthority(String) - Method in class net.jsign.AuthenticodeSigner
Set the URL of the timestamping authority.
withTimestampingAuthority(String...) - Method in class net.jsign.AuthenticodeSigner
Set the URLs of the timestamping authorities.
withTimestampingMode(TimestampingMode) - Method in class net.jsign.AuthenticodeSigner
RFC3161 or Authenticode (Authenticode by default).
withTimestampingRetries(int) - Method in class net.jsign.AuthenticodeSigner
Set the number of retries for timestamping.
withTimestampingRetryWait(int) - Method in class net.jsign.AuthenticodeSigner
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 H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2012–2020. All rights reserved.