A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 

A

AbstractDigester - Class in com.peterphi.std.crypto.digest.impl
 
AbstractDigester() - Constructor for class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
AbstractDigester(AbstractDigester.DigestEncoding) - Constructor for class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
AbstractDigester.DigestEncoding - Enum in com.peterphi.std.crypto.digest.impl
 
accept(File, String) - Method in class com.peterphi.std.io.filter.FilenameExtensionFilter
 
accept(File) - Method in class com.peterphi.std.io.filter.FilenameExtensionFilter
 
accept(String) - Method in class com.peterphi.std.io.filter.FilenameExtensionFilter
 
ActionOnConflict - Enum in com.peterphi.std.io
 
ACTIVE_DIRECTORY - Static variable in class com.peterphi.std.crypto.DNReformatter
The active directory style (descending (CN last), slash-separated with a leading slash)
add(KeyPair) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
add() - Method in class com.peterphi.std.io.TabLevel
 
add(SampleCount) - Method in class com.peterphi.std.types.SampleCount
 
add(StorageSize) - Method in class com.peterphi.std.types.StorageSize
Adds two storage sizes together, using the smallest unit as the resulting StorageSize's unit
add(SampleCount) - Method in class com.peterphi.std.types.Timecode
Add some samples to this timecode
add(SampleCount) - Method in class com.peterphi.std.types.TimecodeRange
Move the range right by the specified number of samples
addAlias(String, Class) - Static method in class com.peterphi.std.xstream.XStreamHelper
Adds an alias to the internally cached XStream instance
addAlias(String, Class, Class) - Static method in class com.peterphi.std.xstream.XStreamHelper
Adds an alias (including a default implementation) to the internally cached XStream instance
addAll(Iterable<KeyPair>) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
addDigest(DigestAlgorithm, String) - Method in class com.peterphi.std.crypto.digest.Digests
 
addFilesToExistingJar(File, String, Map<String, File>, ActionOnConflict) - Static method in class com.peterphi.std.io.ArchiveHelper
Adds a file or files to a jar file, replacing the original one
addPrecise(SampleCount) - Method in class com.peterphi.std.types.SampleCount
 
addPrecise(SampleCount) - Method in class com.peterphi.std.types.Timecode
Add some samples to this timecode, throwing an exception if precision would be lost
ALLOW_LOG_SELF_SIGN_TESTS - Static variable in class com.peterphi.std.crypto.CertificateChainUtil
 
alphanumeric(int) - Static method in class com.peterphi.std.types.SimpleId
Generates a random sequence of alphanumeric characters of length length using a new pseudorandom number generator (new Random())
alphanumeric(Random, int) - Static method in class com.peterphi.std.types.SimpleId
Generates a random sequence of alphanumeric characters of length length using the provided random number generator
appAs(String, String...) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command, optionally executing as a different user (eg root)
appAs(String, Iterable<String>) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command, optionally executing as a different user (eg root)
append(Writer, PropertyFile) - Method in class com.peterphi.std.io.PropertyFile.BlankLine
 
append(Writer, PropertyFile) - Method in class com.peterphi.std.io.PropertyFile.Comment
 
append(Writer, PropertyFile) - Method in class com.peterphi.std.io.PropertyFile.Entry
 
append(Writer, PropertyFile) - Method in class com.peterphi.std.io.PropertyFile.NameValuePair
 
ArchiveHelper - Class in com.peterphi.std.io
 
ArchiveHelper() - Constructor for class com.peterphi.std.io.ArchiveHelper
 
array(Iterable<T>, T[]) - Static method in class com.peterphi.std.util.ListUtility
 
asyncRun() - Method in class com.peterphi.std.threading.RunnableCallableFuture
Start a new daemon thread to call the run() method asynchronously, returning this object as a Future (and not a RunnableCallableFuture)
asyncRun(Executor) - Method in class com.peterphi.std.threading.RunnableCallableFuture
Runs this Callable asynchronously using the specified Executor
asyncRun(Callable<T>) - Static method in class com.peterphi.std.threading.RunnableCallableFuture
Takes a Callable, executing it in the background, returning a Future to its result
Users are advised to use a ThreadPool instead of this method.
aton(String) - Static method in class com.peterphi.std.net.IpHelper
An equivalent of the C inet_aton function
aton(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Converts an InetAddress to a numeric address only in the case of IPv4 (Inet4Address) addresses.
aton(Inet4Address) - Static method in class com.peterphi.std.net.IpHelper
Converts an InetAddress to a numeric address
aton(byte[]) - Static method in class com.peterphi.std.net.IpHelper
Converts an InetAddress' byte[] representation to a numeric address
This only works for IPv4 (obviously)

B

Base64 - Class in com.peterphi.std.util
Encodes and decodes to and from Base64 notation.
BaseExeced - Class in com.peterphi.std.system.exec
 
BaseExeced(List<String>, Process, boolean) - Constructor for class com.peterphi.std.system.exec.BaseExeced
 
BCrypt - Class in com.peterphi.std.crypto
BCrypt implements OpenBSD-style Blowfish password hashing using the scheme described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres.
BCrypt() - Constructor for class com.peterphi.std.crypto.BCrypt
 
between(Timecode, Timecode) - Method in class com.peterphi.std.types.Timecode
 
between(Timecode, Timecode, Timecode) - Static method in class com.peterphi.std.types.TimecodeComparator
Returns true if test is between start and end (inclusive)
BINARY_QUANTIFIERS - Static variable in enum com.peterphi.std.types.StorageUnit
The range of quantifiers for binary units (bytes to terabytes (ISO: B to TiB))
blockingRead(SocketChannel, long, int) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
blockingRead(SocketChannel, long, byte[]) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
blocksize(int) - Method in interface com.peterphi.std.io.ICopyProgressMonitor
A method which MAY be called to inform the monitor of the block size
BooleanMessage - Class in com.peterphi.std.types
 
BooleanMessage(boolean) - Constructor for class com.peterphi.std.types.BooleanMessage
 
BooleanMessage(boolean, String) - Constructor for class com.peterphi.std.types.BooleanMessage
 
BooleanMessage(Throwable) - Constructor for class com.peterphi.std.types.BooleanMessage
Convenience method to construct a BooleanMessage using a Throwable; this constructs a failure message automatically
Both<L,R> - Class in com.peterphi.std.types
An immutable type which represents exactly two non-null values, left or right
Both(L, R) - Constructor for class com.peterphi.std.types.Both
 
BROADCAST_ADDRESS - Static variable in class com.peterphi.std.net.IpHelper
The IPv4 broadcast address: 255.255.255.255
build() - Method in class com.peterphi.std.types.TimecodeBuilder
Constructs a Timecode instance with the fields defined in this builder
buildChainFor(PublicKey, Collection<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
 
buildChainFor(KeyPair, Collection<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
 
builder() - Method in class com.peterphi.std.types.Timecode
Return a TimecodeBuilder for this Timecode instance
bytesToInt(byte[]) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
bytesToInt(ByteBuffer) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
bytesToInts(byte[]) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
bytesToLong(byte[]) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
bytesToLong(ByteBuffer) - Static method in class com.peterphi.std.io.nio.NIOHelper
 

C

cacert - Variable in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
CaHelper - Class in com.peterphi.std.crypto.keygen
 
CaHelper() - Constructor for class com.peterphi.std.crypto.keygen.CaHelper
 
call(T) - Method in class com.peterphi.std.threading.ParamInvokeable
Synchronously executes this Invokeable
cancel(boolean) - Method in class com.peterphi.std.threading.SettableFuture
 
cancel() - Method in class com.peterphi.std.threading.SettableFuture
Cancels this Future
canConvert(Class) - Method in class com.peterphi.std.xstream.serialisers.Inet4AddressConverter
 
canConvert(Class) - Method in class com.peterphi.std.xstream.serialisers.Inet6AddressConverter
 
canConvert(Class) - Method in class com.peterphi.std.xstream.serialisers.InetAddressConverter
 
canConvert(Class) - Method in class com.peterphi.std.xstream.serialisers.MapStringStringConverter
 
canConvert(Class) - Method in class com.peterphi.std.xstream.serialisers.MultiOSFileConverter
 
canConvert(Class) - Method in class com.peterphi.std.xstream.serialisers.StringComparableVersionConverter
 
canConvert(Class) - Method in class com.peterphi.std.xstream.serialisers.URIConverter
 
canonicalise() - Method in class com.peterphi.std.types.InetSubnet
Produces a canonical representation of this subnet; the canonical form has the network ip address properly masked (eg.
caseSensitive - Variable in class com.peterphi.std.io.PropertyFile
 
cat(String) - Static method in class com.peterphi.std.io.FileHelper
 
cat(InputStream) - Static method in class com.peterphi.std.io.FileHelper
 
cat(URL) - Static method in class com.peterphi.std.io.FileHelper
 
cat(Reader) - Static method in class com.peterphi.std.io.FileHelper
 
cat(File) - Static method in class com.peterphi.std.io.FileHelper
 
cat(Reader, int) - Static method in class com.peterphi.std.io.FileHelper
 
CertificateAuthority - Class in com.peterphi.std.crypto.keygen.ca
 
CertificateAuthority(File, char[], File, BigInteger, String) - Constructor for class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
CertificateChainUtil - Class in com.peterphi.std.crypto
Utility class which helps manage certificate chains
channel - Variable in class com.peterphi.std.io.FileHelper.LockRecord
 
CharSequenceReader - Class in com.peterphi.std.io
A Reader whose source is a CharSequence (such as a StringBuilder or a StringBuffer).
This is slightly faster than new StringReader(str.toString()) although it creates a greater number of (small) garbage objects
Implementation based on that of StringReader
CharSequenceReader(CharSequence) - Constructor for class com.peterphi.std.io.CharSequenceReader
 
checkpw(String, String) - Static method in class com.peterphi.std.crypto.BCrypt
Check that a plaintext password matches a previously hashed one
chmod(File, int) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), replacing the permissions using octal
chmod(String, File, int) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), replacing the permissions using octal
chmod(File, File) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), replacing the permissions on f with the permissions on copyOf
chmod(String, File, File) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), replacing the permissions on f with the permissions on copyOf
chmod(String, File, Set<ChmodBit>) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), altering the permissions using symbols (ie.
chmod(File, Set<ChmodBit>) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), altering the permissions using symbols (ie.
chmod(File, Set<ChmodBit>, Set<ChmodBit>) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), altering the permissions using symbols (ie.
chmod(String, File, Set<ChmodBit>, Set<ChmodBit>) - Static method in class com.peterphi.std.io.FileHelper
Performs a chmod (which assumes this system is Linux/UNIX/Solaris/etc), altering the permissions using symbols (ie.
ChmodBit - Enum in com.peterphi.std.io
 
chown(File, String, String, boolean) - Static method in class com.peterphi.std.io.FileHelper
 
CHUNKSIZE - Static variable in class com.peterphi.std.io.StreamUtil
 
clear() - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
clear() - Method in class com.peterphi.std.io.PropertyFile
 
clone(T) - Method in class com.peterphi.std.xstream.XSHelper
Performs a deep clone using serialisation; this is equivalent to (MyType) this.deserialise(this.serialise(obj))
Be careful when using this to clone classes you do not own: they may refer to complex/system datastructures with unintended consequences
clone(T) - Static method in class com.peterphi.std.xstream.XStreamHelper
Performs a deep clone.
close() - Method in class com.peterphi.std.io.CharSequenceReader
Closes the stream and releases any system resources associated with it.
close() - Method in class com.peterphi.std.io.StringBuilderReader
Closes the stream and releases any system resources associated with it.
cmd - Variable in class com.peterphi.std.system.exec.BaseExeced
 
cmd - Variable in class com.peterphi.std.system.exec.Exec
 
cmp(Timecode, Timecode) - Static method in class com.peterphi.std.types.TimecodeComparator
 
com.peterphi.std - package com.peterphi.std
 
com.peterphi.std.annotation - package com.peterphi.std.annotation
 
com.peterphi.std.auth.yubikey - package com.peterphi.std.auth.yubikey
 
com.peterphi.std.crypto - package com.peterphi.std.crypto
 
com.peterphi.std.crypto.digest - package com.peterphi.std.crypto.digest
 
com.peterphi.std.crypto.digest.impl - package com.peterphi.std.crypto.digest.impl
 
com.peterphi.std.crypto.keygen - package com.peterphi.std.crypto.keygen
 
com.peterphi.std.crypto.keygen.ca - package com.peterphi.std.crypto.keygen.ca
 
com.peterphi.std.crypto.keystore - package com.peterphi.std.crypto.keystore
 
com.peterphi.std.crypto.openssl - package com.peterphi.std.crypto.openssl
 
com.peterphi.std.crypto.signing - package com.peterphi.std.crypto.signing
 
com.peterphi.std.io - package com.peterphi.std.io
 
com.peterphi.std.io.filter - package com.peterphi.std.io.filter
 
com.peterphi.std.io.nio - package com.peterphi.std.io.nio
 
com.peterphi.std.io.properties - package com.peterphi.std.io.properties
 
com.peterphi.std.net - package com.peterphi.std.net
 
com.peterphi.std.system.exec - package com.peterphi.std.system.exec
 
com.peterphi.std.threading - package com.peterphi.std.threading
 
com.peterphi.std.types - package com.peterphi.std.types
 
com.peterphi.std.util - package com.peterphi.std.util
 
com.peterphi.std.util.jaxb - package com.peterphi.std.util.jaxb
 
com.peterphi.std.util.jaxb.exception - package com.peterphi.std.util.jaxb.exception
 
com.peterphi.std.xstream - package com.peterphi.std.xstream
 
com.peterphi.std.xstream.serialisers - package com.peterphi.std.xstream.serialisers
 
combinedOutput - Variable in class com.peterphi.std.system.exec.BaseExeced
 
COMPARE - Static variable in enum com.peterphi.std.crypto.digest.DigestAlgorithm
The comparator to use when comparing algorithms ignoring their relative cryptographic security
compare(Timecode, Timecode) - Method in class com.peterphi.std.types.TimecodeComparator
 
COMPARE_PREFER_SECURE - Static variable in enum com.peterphi.std.crypto.digest.DigestAlgorithm
The comparator to use when comparing algorithms & preferring secure algorithms (will usually be the same as the default comparator, but preferring algorithms marked cryptographically secure)
CompareHelper - Class in com.peterphi.std.types
Makes the use of Java's ugly compareTo operation a little more readable
CompareHelper() - Constructor for class com.peterphi.std.types.CompareHelper
 
compareTo(Deadline) - Method in class com.peterphi.std.threading.Deadline
 
compareTo(Timeout) - Method in class com.peterphi.std.threading.Timeout
 
compareTo(Id) - Method in class com.peterphi.std.types.Id
Compares another Id to this id.
compareTo(StorageSize) - Method in class com.peterphi.std.types.StorageSize
Performs a comparison based on the number of bits represented
Since this class has a natural ordering that is inconsistent with equals, this method may return 0 where equals would not return 0 - since this compares based on bits but equals tests based on the unit+amount
compareTo(long, StorageUnit) - Method in class com.peterphi.std.types.StorageSize
Performs a comparison based on the number of bits represented
Since this class has a natural ordering that is inconsistent with equals, this method may return 0 where equals would not return 0 - since this compares based on bits but equals tests based on the unit+amount
compareTo(Version) - Method in class com.peterphi.std.types.Version
 
complete() - Method in interface com.peterphi.std.io.ICopyProgressMonitor
 
COMPSCI_BINARY - Static variable in enum com.peterphi.std.types.StorageUnit
 
concat(Collection<? extends T>...) - Static method in class com.peterphi.std.util.ListUtility
Concatenates a number of Collections into a single List
configure(File...) - Static method in class com.peterphi.std.util.Logging
 
configure(String...) - Static method in class com.peterphi.std.util.Logging
 
configureFiles(Iterable<File>) - Static method in class com.peterphi.std.util.Logging
Configures the logging environment to use the first available config file in the list, printing an error if none of the files are suitable
configureNames(Iterable<String>) - Static method in class com.peterphi.std.util.Logging
 
contains(String) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
contains(KeyPair) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
contains(Collection<T>, T) - Static method in class com.peterphi.std.util.ListUtility
 
contains(String[], String) - Static method in class com.peterphi.std.util.ListUtility
 
containsKey(String) - Method in class com.peterphi.std.io.PropertyFile
 
convert(File, File, File) - Static method in class com.peterphi.std.crypto.keystore.PKCS12ToPEM
 
convert(File, char[], File, File) - Static method in class com.peterphi.std.crypto.keystore.PKCS12ToPEM
 
convert(File, char[], char[], File, File) - Static method in class com.peterphi.std.crypto.keystore.PKCS12ToPEM
Converts a PKCS12 to a PEM using the Bouncy Castle PKCS12 drivers
convert(StorageUnit) - Method in class com.peterphi.std.types.StorageSize
Convert this StorageSize to use the named unit
convert(long, StorageUnit) - Method in enum com.peterphi.std.types.StorageUnit
 
convert(BigInteger, StorageUnit) - Method in enum com.peterphi.std.types.StorageUnit
 
convert(BigDecimal, StorageUnit) - Method in enum com.peterphi.std.types.StorageUnit
 
convert(Document) - Static method in class com.peterphi.std.util.JDOMUtils
Convert a JDOM Document to a DOM Document
convert(Document) - Static method in class com.peterphi.std.util.JDOMUtils
Convert a DOM Document to a JDOM Document
convert(Element) - Static method in class com.peterphi.std.util.JDOMUtils
Convert a JDOM Element to a DOM Element
convert(Element) - Static method in class com.peterphi.std.util.JDOMUtils
Convert a DOM Element to a JDOM Element
copy(File, File) - Static method in class com.peterphi.std.io.FileHelper
 
copy(InputStream, Writer) - Method in class com.peterphi.std.system.exec.BaseExeced
 
couldWrite(File) - Static method in class com.peterphi.std.io.FileHelper
 
crc32(File) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
crc32(InputStream) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
CRC32Digester - Class in com.peterphi.std.crypto.digest.impl
Produces CRC32 checksums (in hexidecimal) using the java.util.zip CRC32 class
CRC32Digester() - Constructor for class com.peterphi.std.crypto.digest.impl.CRC32Digester
 
create() - Static method in class com.peterphi.std.xstream.XSHelper
Creates a new instance of the XSHelper class, using the most efficient underlying implementations possible
create(HierarchicalStreamDriver) - Static method in class com.peterphi.std.xstream.XSHelper
 
create() - Static method in class com.peterphi.std.xstream.XStreamHelper
 
createDocumentBuilder() - Static method in class com.peterphi.std.util.DOMUtils
Create a new (namespace-aware) DocumentBuilder
createRequest(KeyPair, X500Principal) - Method in class com.peterphi.std.crypto.keygen.RSAGenerator
 
createSimpleX509(String, String, KeyPair, int) - Static method in class com.peterphi.std.crypto.keygen.RSAGenerator
 
createTempFile(String, String) - Static method in class com.peterphi.std.io.FileHelper
Creates a temporary file name

D

Daemon - Class in com.peterphi.std.threading
Simplifies the creation of long-running daemon threads
Daemon() - Constructor for class com.peterphi.std.threading.Daemon
 
data - Variable in class com.peterphi.std.io.PropertyFile.Comment
 
DCE - Static variable in class com.peterphi.std.crypto.DNReformatter
Synonym for ACTIVE_DIRECTORY (descending (CN last), slash-separated with a leading slash)
Deadline - Class in com.peterphi.std.threading
Represents a deadline (some point in the future - generally, a time by which some operation should be completed)
Deadline(Timeout) - Constructor for class com.peterphi.std.threading.Deadline
Constructs a new deadline based on adding timeout to the current time
If current time + timeout > Long.MAX_VALUE then Long.MAX_VALUE is used as the deadline
Deadline(long) - Constructor for class com.peterphi.std.threading.Deadline
 
Deadline(long, TimeUnit) - Constructor for class com.peterphi.std.threading.Deadline
Constructs a deadline using a given period of time
Deadline(Calendar) - Constructor for class com.peterphi.std.threading.Deadline
 
Deadline(Date) - Constructor for class com.peterphi.std.threading.Deadline
 
DECIMAL_QUANTIFIERS - Static variable in enum com.peterphi.std.types.StorageUnit
The range of quantifiers for ISO decimal units (bytes to terabytes (ISO: B to TB))
DECODE - Static variable in class com.peterphi.std.util.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class com.peterphi.std.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class com.peterphi.std.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class com.peterphi.std.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class com.peterphi.std.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class com.peterphi.std.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class com.peterphi.std.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class com.peterphi.std.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class com.peterphi.std.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DEFAULT - Static variable in class com.peterphi.std.crypto.DNReformatter
The default style (descending (CN last), comma-separated
delete(File) - Static method in class com.peterphi.std.io.FileHelper
Deletes a local file or directory from the filesystem
deleteFile(String, KeyPair) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
DERUtil - Class in com.peterphi.std.crypto.keystore
 
deserialise(String) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Deserialise a String of XML to an Object (or JAXBElement)
deserialise(InputStream) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Deserialise a stream of XML to an Object (or JAXBElement)
deserialise(Reader) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Deserialise a Reader of XML to an Object (or JAXBElement)
deserialise(Class<T>, InputSource) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Deserialise an input and cast to a particular type
deserialise(Class<T>, String) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Deserialise and cast to a particular type
deserialise(File) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Deserialise a File of XML to an Object (or JAXBElement)
deserialise(InputSource) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
 
deserialise(Node) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Deserialise a DOM Node to an Object (or JAXBElement)
deserialise(File) - Method in class com.peterphi.std.xstream.XSHelper
Deserialises an Object from a File.
deserialise(String) - Method in class com.peterphi.std.xstream.XSHelper
Deserialises a String into an Object
deserialise(InputStream) - Method in class com.peterphi.std.xstream.XSHelper
Deserialise an XML document from an InputStream into an Object
deserialise(Reader) - Method in class com.peterphi.std.xstream.XSHelper
Deserialise an XML document from an InputStream into an Object
deserialise(File) - Static method in class com.peterphi.std.xstream.XStreamHelper
Deserialises an Object from a File
deserialise(String) - Static method in class com.peterphi.std.xstream.XStreamHelper
Uses the default XStream instance to deserialise an XML document into an Object
deserialise(InputStream) - Static method in class com.peterphi.std.xstream.XStreamHelper
Deserialises an InputStream into an Object using the default XStream instance
digest(File, String, int) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
digest(InputStream, String) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
digest(InputStream, String, int) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
digest(byte[]) - Method in interface com.peterphi.std.crypto.digest.IDigester
Produces the digest of a byte array
digest(File) - Method in interface com.peterphi.std.crypto.digest.IDigester
Produces the digest of a File
digest(InputStream) - Method in interface com.peterphi.std.crypto.digest.IDigester
Produces the digest of an InputStream
digest(ByteChannel) - Method in interface com.peterphi.std.crypto.digest.IDigester
Digests a ByteChannel; the performance of this method may possibly be higher (but it may also be slightly slower) than that of the InputStream method
digest(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
digest(File) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
digest(InputStream) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
digest(ByteChannel) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
digest(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.CRC32Digester
 
digest(File) - Method in class com.peterphi.std.crypto.digest.impl.CRC32Digester
 
digest(InputStream) - Method in class com.peterphi.std.crypto.digest.impl.CRC32Digester
 
digest(ByteChannel) - Method in class com.peterphi.std.crypto.digest.impl.CRC32Digester
 
digest(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.LengthDigester
 
digest(File) - Method in class com.peterphi.std.crypto.digest.impl.LengthDigester
 
digest(InputStream) - Method in class com.peterphi.std.crypto.digest.impl.LengthDigester
 
digest(ByteChannel) - Method in class com.peterphi.std.crypto.digest.impl.LengthDigester
 
DigestAlgorithm - Enum in com.peterphi.std.crypto.digest
A number of different types of digest algorithm
DigestHelper - Class in com.peterphi.std.crypto.digest
 
DigestHelper() - Constructor for class com.peterphi.std.crypto.digest.DigestHelper
 
Digests - Class in com.peterphi.std.crypto.digest
Represents a number of digests of some content
Digests() - Constructor for class com.peterphi.std.crypto.digest.Digests
 
DigestVerifier - Class in com.peterphi.std.crypto.digest.impl
Verifies a digest
DigestVerifier(String, DigestAlgorithm) - Constructor for class com.peterphi.std.crypto.digest.impl.DigestVerifier
 
DigestVerifier(String, IDigester) - Constructor for class com.peterphi.std.crypto.digest.impl.DigestVerifier
 
DirectoryKeystore - Class in com.peterphi.std.crypto.keystore
 
DirectoryKeystore(File) - Constructor for class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
dirty - Variable in class com.peterphi.std.io.PropertyFile
 
disableGraph() - Method in class com.peterphi.std.xstream.XSHelper
 
discard(InputStream) - Method in class com.peterphi.std.system.exec.BaseExeced
 
discardOutput() - Method in class com.peterphi.std.system.exec.BaseExeced
Indicates that the output of this process should be discarded
discardOutput() - Method in class com.peterphi.std.system.exec.Execed
 
DNReformatter - Class in com.peterphi.std.crypto
Reformats a Distinguished Name into one of a variety of formats
DNReformatter() - Constructor for class com.peterphi.std.crypto.DNReformatter
 
DNReformatter(DERObjectIdentifier[]) - Constructor for class com.peterphi.std.crypto.DNReformatter
 
DNReformatter(DERObjectIdentifier[], String) - Constructor for class com.peterphi.std.crypto.DNReformatter
 
DNReformatter(DERObjectIdentifier[], String, String, String, String, String) - Constructor for class com.peterphi.std.crypto.DNReformatter
 
DNReformatter(String[], String, String, String, String, String) - Constructor for class com.peterphi.std.crypto.DNReformatter
 
DO_BREAK_LINES - Static variable in class com.peterphi.std.util.Base64
Do break lines when encoding.
doBackgroundCopy(InputStream, OutputStream) - Static method in class com.peterphi.std.io.StreamUtil
 
doBackgroundCopy(InputStream, OutputStream, ICopyProgressMonitor) - Static method in class com.peterphi.std.io.StreamUtil
 
doBackgroundCopy(InputStream, OutputStream, ICopyProgressMonitor, boolean, boolean) - Static method in class com.peterphi.std.io.StreamUtil
 
Doc - Annotation Type in com.peterphi.std.annotation
Documentation that can be read at runtime
DOMUtils - Class in com.peterphi.std.util
 
DUMMY_MONITOR - Static variable in class com.peterphi.std.io.StreamUtil
A monitor which does nothing

E

eatInputStream(InputStream) - Static method in class com.peterphi.std.io.StreamUtil
Eats an inputstream, discarding its contents
Either<L,R> - Class in com.peterphi.std.types
An immutable type which represents exactly one non-null value of either left or right
Either(L, R) - Constructor for class com.peterphi.std.types.Either
 
empty(Map<?, ?>) - Static method in class com.peterphi.std.util.ListUtility
 
empty(Collection<T>) - Static method in class com.peterphi.std.util.ListUtility
 
ENABLE_PEM_PROLOGUE - Static variable in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
enableGraph() - Method in class com.peterphi.std.xstream.XSHelper
 
encode(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
ENCODE - Static variable in class com.peterphi.std.util.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class com.peterphi.std.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class com.peterphi.std.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
ENCODE_BASE64 - Static variable in class com.peterphi.std.crypto.digest.DigestHelper
 
ENCODE_HEX - Static variable in class com.peterphi.std.crypto.digest.DigestHelper
 
encodeBytes(byte[]) - Static method in class com.peterphi.std.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class com.peterphi.std.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class com.peterphi.std.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class com.peterphi.std.util.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class com.peterphi.std.util.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class com.peterphi.std.util.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - Static method in class com.peterphi.std.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class com.peterphi.std.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class com.peterphi.std.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class com.peterphi.std.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class com.peterphi.std.util.Base64
Convenience method for encoding data to a file.
enforceSafeFilename(String) - Static method in class com.peterphi.std.io.FileHelper
Ensures that a file is "safe" (this is done by whitelisting a small number of characters)
This method is mainly designed for producing a filename which bears some resemblance to a user-supplied String while removing the risk of being tricked
entries - Variable in class com.peterphi.std.io.PropertyFile
 
eq(int) - Static method in class com.peterphi.std.types.CompareHelper
Evaluates the result of a.compareTo(b) and returns a == b
eq(Comparable<T>, T) - Static method in class com.peterphi.std.types.CompareHelper
a == b
eq(Timecode) - Method in class com.peterphi.std.types.Timecode
 
eq(Timecode, Timecode) - Static method in class com.peterphi.std.types.TimecodeComparator
 
equals(Object) - Method in class com.peterphi.std.threading.Deadline
 
equals(Object) - Method in class com.peterphi.std.threading.Timeout
 
equals(Object) - Method in class com.peterphi.std.types.Both
 
equals(Object) - Method in class com.peterphi.std.types.Either
 
equals(Object) - Method in class com.peterphi.std.types.Id
 
equals(Object) - Method in class com.peterphi.std.types.InetSubnet
 
equals(Object) - Method in class com.peterphi.std.types.SampleCount
 
equals(Object) - Method in class com.peterphi.std.types.StorageSize
Determines whether the amount and unit represented by the other object is exactly equal to this object;
N.B.
equals(Object) - Method in class com.peterphi.std.types.Timebase
 
equals(Object) - Method in class com.peterphi.std.types.Timecode
 
equals(Object) - Method in class com.peterphi.std.types.TimecodeRange
 
equals(Object) - Method in class com.peterphi.std.types.Version
 
Exec - Class in com.peterphi.std.system.exec
An abstraction over ProcessBuilder to simplify the creation of processes
Exec(String...) - Constructor for class com.peterphi.std.system.exec.Exec
 
Exec(Iterable<String>) - Constructor for class com.peterphi.std.system.exec.Exec
 
Execed - Class in com.peterphi.std.system.exec
 
Execed(List<String>, Process, boolean) - Constructor for class com.peterphi.std.system.exec.Execed
 
exists() - Method in class com.peterphi.std.crypto.keystore.Keystore
Simple, safe method to determine if this keystore file exists
exitCode - Variable in class com.peterphi.std.system.exec.BaseExeced
 
exitCode() - Method in class com.peterphi.std.system.exec.BaseExeced
Returns the exit code of the application, assuming it has already terminated.
extractArchive(File, File) - Static method in class com.peterphi.std.io.ArchiveHelper
Extracts a .tar or .tar.gz archive to a given folder

F

f - Variable in class com.peterphi.std.io.PropertyFile
 
fail(Throwable) - Method in class com.peterphi.std.threading.SettableFuture
 
failure() - Method in interface com.peterphi.std.io.ICopyProgressMonitor
 
FALSE - Static variable in class com.peterphi.std.types.BooleanMessage
 
file - Variable in class com.peterphi.std.crypto.keystore.Keystore
 
FileHelper - Class in com.peterphi.std.io
Title: File Helper
FileHelper.LockRecord - Class in com.peterphi.std.io
 
FileHelper.LockRecord() - Constructor for class com.peterphi.std.io.FileHelper.LockRecord
 
FilenameExtensionFilter - Class in com.peterphi.std.io.filter
A FileFilter which matches files by their extensions
FilenameExtensionFilter(String, boolean) - Constructor for class com.peterphi.std.io.filter.FilenameExtensionFilter
Deprecated.
use boolean caseSensitive,String... extensions constructor instead
FilenameExtensionFilter(Iterable<String>, boolean) - Constructor for class com.peterphi.std.io.filter.FilenameExtensionFilter
Deprecated.
use boolean caseSensitive,Iterable extensions constructor instead
FilenameExtensionFilter(boolean, String...) - Constructor for class com.peterphi.std.io.filter.FilenameExtensionFilter
Creates a FilenameExtensionFilter with a set of extensions
FilenameExtensionFilter(String...) - Constructor for class com.peterphi.std.io.filter.FilenameExtensionFilter
Creates a case insensitive FilenameExtensionFilter with a set of extensions
FilenameExtensionFilter(Iterable<String>) - Constructor for class com.peterphi.std.io.filter.FilenameExtensionFilter
Creates a case insensitive FilenameExtensionFilter with a set of extensions
FilenameExtensionFilter(boolean, Iterable<String>) - Constructor for class com.peterphi.std.io.filter.FilenameExtensionFilter
Creates a FilenameExtensionFilter with a set of extensions
filterP12(File, String) - Static method in class com.peterphi.std.crypto.openssl.OpenSSLPKCS12
Recreates a PKCS12 KeyStore using OpenSSL; this is a workaround a BouncyCastle-Firefox compatibility bug
find() - Static method in class com.peterphi.std.io.PropertyFile
 
find(String) - Static method in class com.peterphi.std.io.PropertyFile
 
find(ClassLoader, String...) - Static method in class com.peterphi.std.io.PropertyFile
Find a property file
findAll(String) - Static method in class com.peterphi.std.io.PropertyFile
Find all property files by the name name by searching the classloader that owns PropertyFile
findAll(ClassLoader, String) - Static method in class com.peterphi.std.io.PropertyFile
Find all property files by the name name by searching the specified classloader
fingerprint(KeyPair) - Static method in class com.peterphi.std.crypto.digest.KeyFingerprinting
Returns a fingerprint of the private key of this keypair
fingerprint(PrivateKey) - Static method in class com.peterphi.std.crypto.digest.KeyFingerprinting
Returns a fingerprint of a private key
fingerprint(PublicKey) - Static method in class com.peterphi.std.crypto.digest.KeyFingerprinting
Returns a fingerprint of a public key (included for completeness)
fingerprint(byte[]) - Static method in class com.peterphi.std.crypto.digest.KeyFingerprinting
Produces a fingerprint encoded in the standard key fingerprint method (with : characters separating each pair of hexidecimal digits)
fingerprint(KeyPair) - Static method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
Creates a (normalised) fingerprint of a keypair
FingerprintKeyStorage - Class in com.peterphi.std.crypto.keystore
A set of KeyPairs, indexed and retrieved by their private key's fingerprint (the hex-encoded SHA1 digest of the DER-encoded key)
Keys are persisted to a directory (with the contents of that directory exclusively managed by this object)
FingerprintKeyStorage(File) - Constructor for class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
fingerprintsEqual(String, String) - Static method in class com.peterphi.std.crypto.digest.KeyFingerprinting
Determines whether two fingerprints are equivalent
This method is useful in the case where one or more fingerprints are coming from an external source (and therefore it may or may not have : delimiters)
finished - Variable in class com.peterphi.std.system.exec.BaseExeced
 
finished(int) - Method in class com.peterphi.std.system.exec.BaseExeced
 
FIVE_MINUTES - Static variable in class com.peterphi.std.threading.Timeout
Five minutes
flip(T[], T[], int, int) - Static method in class com.peterphi.std.util.ListUtility
Reverses an array
flip(T[]) - Static method in class com.peterphi.std.util.ListUtility
Reverses an array
flip(List<T>, List<T>, int, int) - Static method in class com.peterphi.std.util.ListUtility
Reverses a list
flip(List<T>) - Static method in class com.peterphi.std.util.ListUtility
Reverses a list
flip(int[], int[], int, int) - Static method in class com.peterphi.std.util.ListUtility
Reverses an integer array
flip(char[], char[], int, int) - Static method in class com.peterphi.std.util.ListUtility
Reverses a character array
flock - Variable in class com.peterphi.std.io.FileHelper.LockRecord
 
forceNameValueDelimiterWhitespace - Variable in class com.peterphi.std.io.PropertyFile
 
format(List<DNReformatter.DNInformation>) - Method in class com.peterphi.std.crypto.DNReformatter
Formats an ordered DNInformation list
fos - Variable in class com.peterphi.std.io.FileHelper.LockRecord
 
fromBits(BigInteger) - Method in enum com.peterphi.std.types.StorageUnit
 
fromBits(BigDecimal) - Method in enum com.peterphi.std.types.StorageUnit
 
fromEncodedValue(String) - Static method in class com.peterphi.std.types.TimecodeBuilder
Parse a Timecode encoded in the "vidispine style" (hh:mm:ss:ff@timebase).
fromFrames(long, boolean, Timebase) - Static method in class com.peterphi.std.types.TimecodeBuilder
 
fromHex(String) - Static method in class com.peterphi.std.util.HexHelper
Decodes a hexidecimal string into a series of bytes
fromHex(char, String) - Static method in class com.peterphi.std.util.HexHelper
Decodes a hexidecimal string (optionally with separator characters separating each two-digit pair)
Multiple runs of the separator will be ignored (eg.
fromSamples(SampleCount, boolean) - Static method in class com.peterphi.std.types.TimecodeBuilder
 
fromSMPTE(String) - Static method in class com.peterphi.std.types.TimecodeBuilder
Part a Timecode encoded in the SMPTE style ([dd:]hh:mm:ss:ff - or [dd:]hh:mm:ss;ff for drop-frame timecode)
fromString(String) - Method in class com.peterphi.std.xstream.serialisers.Inet4AddressConverter
 
fromString(String) - Method in class com.peterphi.std.xstream.serialisers.Inet6AddressConverter
 
fromString(String) - Method in class com.peterphi.std.xstream.serialisers.InetAddressConverter
 
fromString(String) - Method in class com.peterphi.std.xstream.serialisers.MultiOSFileConverter
 
fromString(String) - Method in class com.peterphi.std.xstream.serialisers.StringComparableVersionConverter
 
fromString(String) - Method in class com.peterphi.std.xstream.serialisers.URIConverter
 
fromTimecode(Timecode) - Static method in class com.peterphi.std.types.TimecodeBuilder
 

G

ge(int) - Static method in class com.peterphi.std.types.CompareHelper
Evaluates the result of a.compareTo(b) and returns a >= b
ge(Comparable<T>, T) - Static method in class com.peterphi.std.types.CompareHelper
a >= b
ge(Timecode) - Method in class com.peterphi.std.types.Timecode
 
ge(Timecode, Timecode) - Static method in class com.peterphi.std.types.TimecodeComparator
 
generate(int) - Static method in class com.peterphi.std.crypto.keygen.RSAGenerator
 
generateBytes(int) - Static method in class com.peterphi.std.util.HexHelper
Generates a number of random bytes which can then be manipulated and/or converted to hex
Uses a new instance of java.util.Random
generateBytes(Random, int) - Static method in class com.peterphi.std.util.HexHelper
Generates a number of random bytes which can then be manipulated and/or converted to hex
generateCA(String, BigInteger) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
generateCaCertificate(String, KeyPair, BigInteger, X509Name) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
generateCaCertificate(String, KeyPair, BigInteger, X509Name, X509Name) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
generateCertificateRequest(X509Certificate, PrivateKey) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
generateClientCertificate(PublicKey, PrivateKey, X509Name, X509Name) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
generateHex(int) - Static method in class com.peterphi.std.util.HexHelper
Generates a hexidecimal String of length characters
generateHex(Random, int) - Static method in class com.peterphi.std.util.HexHelper
Generates a hexidecimal String of length characters
generateKeyPair(int) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
generateServerCert(CertificateAuthority, String, int) - Static method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
generateServerCertificate(PublicKey, PrivateKey, X509Name, X509Name) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
generateUserCert(CertificateAuthority, String, int) - Static method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
gensalt(int, SecureRandom) - Static method in class com.peterphi.std.crypto.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
gensalt(int) - Static method in class com.peterphi.std.crypto.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
gensalt() - Static method in class com.peterphi.std.crypto.BCrypt
Generate a salt for use with the BCrypt.hashpw() method, selecting a reasonable default for the number of hashing rounds to apply
get(String) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
get(String) - Method in class com.peterphi.std.io.PropertyFile
 
get(String, String) - Method in class com.peterphi.std.io.PropertyFile
 
get(String, int) - Method in class com.peterphi.std.io.PropertyFile
 
get(String, long) - Method in class com.peterphi.std.io.PropertyFile
 
get(String, boolean) - Method in class com.peterphi.std.io.PropertyFile
 
get() - Method in class com.peterphi.std.threading.SettableFuture
 
get(long, TimeUnit) - Method in class com.peterphi.std.threading.SettableFuture
 
get(Deadline) - Method in class com.peterphi.std.threading.SettableFuture
 
get(TimeUnit) - Method in class com.peterphi.std.threading.Timeout
Get this timeout represented in a different unit
getAlgorithms() - Method in class com.peterphi.std.crypto.digest.Digests
 
getAll() - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
Returns a read-only set containing a list of all the keypairs currently in storage
getAmount() - Method in class com.peterphi.std.types.StorageSize
Deprecated.
getAmount(StorageUnit) - Method in class com.peterphi.std.types.StorageSize
Converts the size of this StorageSize to another unit, rounding the result to an integer
This method may result in the loss of information (due to rounding).
getAppropriateBinaryUnit(BigInteger, StorageUnit) - Static method in enum com.peterphi.std.types.StorageUnit
Attempts to locate the most appropriate binary unit (binary units are what everyone but the ISO and the storage industry mean by "KB", "MB", etc.
getAppropriateDecimalUnit(BigInteger, StorageUnit) - Static method in enum com.peterphi.std.types.StorageUnit
Attempts to locate the most appropriate decimal unit (decimal units are what the ISO and the storage industry (but nobody else) mean by "KB", "MB", etc.
getAppropriateUnit(BigInteger, StorageUnit, StorageUnit[]) - Static method in enum com.peterphi.std.types.StorageUnit
Attempts to locate the most appropriate of the provided units to express the provided amount in for human use (balancing precision and sensible expression)
getBase64(String) - Method in class com.peterphi.std.io.PropertyFile
Get a value which is Base64 encoded
getBase64(String, byte[]) - Method in class com.peterphi.std.io.PropertyFile
 
getBest(boolean, DigestAlgorithm...) - Static method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Determines the best algorithm from a list of choices
getBest(boolean, Iterable<DigestAlgorithm>) - Static method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Determines the "best" algorithm from a list of choices
getBits() - Method in class com.peterphi.std.types.StorageSize
The number of bits represented by this object
getBoolean(String, boolean) - Method in class com.peterphi.std.io.PropertyFile
 
getBroadcast() - Method in class com.peterphi.std.types.InetSubnet
Returns the broadcast address of this subnet
getBytes() - Method in class com.peterphi.std.types.StorageSize
Return the number of bytes this StorageSize represents
This method may result in information being lost (e.g.
getCACertificate() - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
getCacheXstream() - Static method in class com.peterphi.std.xstream.XStreamHelper
Determines whether XStream instance caching is currently enabled
getCAHash() - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
getCaseSensitive() - Method in class com.peterphi.std.io.PropertyFile
 
getCertificateFor(PublicKey, Collection<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
 
getClass(String, Class<?>) - Method in class com.peterphi.std.io.PropertyFile
 
getContent() - Method in class com.peterphi.std.types.Version
Deprecated.
DO NOT USE THIS METHOD - FOR BEAN SERIALISER ONLY
getContext() - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Retrieve the inner JAXBContext
NOTE: use of this method is strongly discouraged!
getDate() - Method in class com.peterphi.std.threading.Deadline
Returns the time represented by this deadline as a Date
getDays() - Method in class com.peterphi.std.types.TimecodeBuilder
 
getDaysPart() - Method in class com.peterphi.std.types.Timecode
 
getDecimalAmount() - Method in class com.peterphi.std.types.StorageSize
Converts the size of this StorageSize to another unit, returning the result as a real number (using the BigDecimal type)
Uses the default representation unit for this type
The calculations may result in minimal loss of precision, however this is unavoidable.
getDecimalAmount(StorageUnit) - Method in class com.peterphi.std.types.StorageSize
Converts the size of this StorageSize to another unit, returning the result as a real number (using the BigDecimal type)
The calculations may result in minimal loss of precision, however this is unavoidable.
getDenominator() - Method in class com.peterphi.std.types.Timebase
 
getDigest(DigestAlgorithm) - Method in class com.peterphi.std.crypto.digest.Digests
 
getDuration() - Method in class com.peterphi.std.types.TimecodeRange
 
getDurationInFrames() - Method in class com.peterphi.std.types.Timecode
Returns the duration of the timecode (from 00:00:00:00) in frames
getDurationInFrames(boolean) - Method in class com.peterphi.std.types.Timecode
Returns the duration of the timecode (from 00:00:00:00) in frames
getDurationInSeconds() - Method in class com.peterphi.std.types.Timecode
Returns the duration of the timecode in seconds (from 00:00:00:00), ignoring frames
getElapsed() - Method in class com.peterphi.std.util.Ticker
 
getElapsedTime() - Method in class com.peterphi.std.util.Ticker
 
getEnd() - Method in class com.peterphi.std.types.TimecodeRange
 
getEnv(String) - Method in class com.peterphi.std.system.exec.Exec
 
getField(int, int) - Method in class com.peterphi.std.types.Version
Retrieves the given field from this Version
getField(int) - Method in class com.peterphi.std.types.Version
Retrieves the given field from this Version
getFile(String, KeyPair) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
getFile() - Method in class com.peterphi.std.crypto.keystore.Keystore
 
getFile() - Method in class com.peterphi.std.io.PropertyFile
 
getForceNameValueDelimiterWhitespace() - Method in class com.peterphi.std.io.PropertyFile
 
getFrames() - Method in class com.peterphi.std.types.TimecodeBuilder
 
getFramesPart() - Method in class com.peterphi.std.types.Timecode
 
getFramesPartAsMicroseconds() - Method in class com.peterphi.std.types.Timecode
Get the frames part of this timecode in microseconds
getFramesPartAsMilliseconds() - Method in class com.peterphi.std.types.Timecode
Get the frames part of this timecode in milliseconds
getHash() - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
Returns the OpenSSL hash for the Certificate Authority
getHash() - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
getHex(String) - Method in class com.peterphi.std.io.PropertyFile
Get a value which has been encoded in hexidecimal; The encoding may optionally include : delimiters, but no other non-hex characters are permitted
getHostMax() - Method in class com.peterphi.std.types.InetSubnet
Gets the last host in this subnet
getHostMin() - Method in class com.peterphi.std.types.InetSubnet
Gets the first host in this subnet
getHosts() - Method in class com.peterphi.std.types.InetSubnet
Returns the number of hosts in this subnet
getHours() - Method in class com.peterphi.std.types.TimecodeBuilder
 
getHoursPart() - Method in class com.peterphi.std.types.Timecode
 
getId() - Method in class com.peterphi.std.auth.yubikey.YubicoClient
Returns the ID passed to the initialized Yubico object.
getImplementation() - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Retrieves the implementation of this algorithm
getInstance() - Static method in class com.peterphi.std.auth.yubikey.YubicoClient
 
getInstance() - Static method in class com.peterphi.std.crypto.digest.impl.CRC32Digester
 
getInstance() - Static method in class com.peterphi.std.crypto.digest.impl.LengthDigester
 
getInstance(String) - Static method in class com.peterphi.std.types.Timebase
Parses an encoded timebase.
getInstance(long, boolean, Timebase) - Static method in class com.peterphi.std.types.Timecode
 
getInstance(SampleCount) - Static method in class com.peterphi.std.types.Timecode
 
getInstance(SampleCount, boolean) - Static method in class com.peterphi.std.types.Timecode
Deprecated.
drop frame timecode is not correctly supported currently
getInstance(SampleCount, boolean, boolean) - Static method in class com.peterphi.std.types.Timecode
Deprecated.
use method without supportDays (supportDays is now implicitly true) or dropFrame (drop frame timecode is not correctly supported currently)
getInstance(String) - Static method in class com.peterphi.std.types.Timecode
Parse a Timecode encoded in the encoded style for this library ([-][dd:]hh:mm:ss:ff@timebase).
getInstance(String, Timebase) - Static method in class com.peterphi.std.types.Timecode
Part a Timecode encoded in the SMPTE style ([dd:]hh:mm:ss:ff - or [dd:]hh:mm:ss;ff for drop-frame timecode) alongside a timebase.
getInstance(long, boolean, Timebase, boolean) - Static method in class com.peterphi.std.types.Timecode
Deprecated.
use method without supportDays
getInstance() - Static method in class com.peterphi.std.types.TimecodeComparator
 
getInstance(JAXBContext) - Static method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Helper method to get a JAXBSerialiser from an existing JAXBContext.
This is an expensive operation and so the result should ideally be cached
getInstance(Class<?>...) - Static method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Helper method to get a JAXBSerialiser for a set of classes with the underlying JAXB implementation picked using the default rules for JAXB acquisition
This is an expensive operation and so the result should ideally be cached
getInstance(String) - Static method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Helper method to get a JAXBSerialiser from a JAXB Context Path (i.e.
getInstance(Class<?>) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiserFactory
 
getInstance(String) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiserFactory
 
getInteger(String, int) - Method in class com.peterphi.std.io.PropertyFile
 
getInterfaceForLocalIp(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Given a local IP address, returns the Interface it corresponds to
getIntSamplesPerSecond() - Method in class com.peterphi.std.types.Timebase
Samples per second, cast to an integer (accurate only if the numerator is 1)
getIP(String, InetAddress) - Method in class com.peterphi.std.io.PropertyFile
 
getIP() - Method in class com.peterphi.std.types.InetSubnet
Returns the IP address represented by this subnet; when in its canonical form, getIP() will return the same as getNetwork()
getISOUnit() - Method in enum com.peterphi.std.types.StorageUnit
Return the ISO unit for this storage unit.
for MEGABYTE this will return MiB (to avoid further confusion)
getIssuer(X509Certificate, Collection<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
 
getIssuer() - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
getIssuerDNsFromChain(List<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
Extracts the DNs of the issuers from a certificate chain.
getKeypair(String) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
getKeypair(KeyStore, String, char[]) - Static method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Helper method; retrieves a named public/private keypair from a KeyStore.
getLeft() - Method in class com.peterphi.std.types.Both
 
getLeft() - Method in class com.peterphi.std.types.Either
 
getLevel() - Method in class com.peterphi.std.io.TabLevel
 
getLineCount() - Method in class com.peterphi.std.io.PropertyFile
 
getLocalhost() - Static method in class com.peterphi.std.net.IpHelper
Gets the hostname of localhost
getLocalIp() - Static method in class com.peterphi.std.net.IpHelper
Gets the local IP address
getLocalIpAddress() - Static method in class com.peterphi.std.net.IpHelper
Returns the primary InetAddress of localhost
getLocalIpAddress(String) - Static method in class com.peterphi.std.net.IpHelper
Returns the IP address associated with iface
getLocalIpAddresses() - Static method in class com.peterphi.std.net.IpHelper
Returns a list of local InetAddresses for this machine
getLocalIpAddresses(boolean) - Static method in class com.peterphi.std.net.IpHelper
Returns a list of local InetAddresses for this machine
getLocalIpAddresses(boolean, boolean) - Static method in class com.peterphi.std.net.IpHelper
Returns a list of local InetAddresses for this machine
getLocalIpAddresses(String, boolean) - Static method in class com.peterphi.std.net.IpHelper
 
getLong(String, long) - Method in class com.peterphi.std.io.PropertyFile
 
getMacFor(NetworkInterface) - Static method in class com.peterphi.std.net.IpHelper
Given a network interface, determines its mac address
getMacForLocalIp(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Given an InetAddress, determines the MAC Address (hardware address) of the corresponding interface
getMilliseconds() - Method in class com.peterphi.std.threading.Timeout
Get the number of milliseconds this timeout represents
getMinutes() - Method in class com.peterphi.std.types.TimecodeBuilder
 
getMinutesPart() - Method in class com.peterphi.std.types.Timecode
 
getMode() - Method in class com.peterphi.std.xstream.XSHelper
Returns the current graphing mode
getMoxy(String) - Static method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Helper method to get a JAXBSerialiser that uses EclipseLink MOXy for all operations
getMoxy(Class<?>...) - Static method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Helper method to get a JAXBSerialiser that uses EclipseLink MOXy for all operations
getNetmask() - Method in class com.peterphi.std.types.InetSubnet
Retrieves the prefix as a netmask (eg.
getNetwork() - Method in class com.peterphi.std.types.InetSubnet
Returns the InetAddress representing the network (fully masked by the prefix); this is the IP address with the last prefix bits masked to zero
getNoObjectGraph() - Static method in class com.peterphi.std.xstream.XStreamHelper
Returns the current state of object graph serialisation
getNumerator() - Method in class com.peterphi.std.types.Timebase
 
getPassword() - Method in class com.peterphi.std.crypto.keystore.Keystore
 
getPlural() - Method in enum com.peterphi.std.types.StorageUnit
Get the plural version of this unit (e.g.
getPrefix() - Method in class com.peterphi.std.types.InetSubnet
Returns the prefix length (0 to 32 for an IPv4 subnet)
The larger the prefix the larger the block if IP addresses represented by this subnet
getPrettyPrint() - Method in class com.peterphi.std.xstream.XSHelper
 
getPrincipals(List<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
 
getPriority() - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
 
getPrivateKey(String) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
getPrivateKey(File) - Static method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
getProcessBuilder() - Method in class com.peterphi.std.system.exec.Exec
Returns a ProcessBuilder for use in a manual launching
getPublicKey(String) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
getPublicKey(File) - Static method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
getRate() - Method in class com.peterphi.std.types.SampleCount
 
getRate() - Method in class com.peterphi.std.types.TimecodeBuilder
 
getRedirectError() - Method in class com.peterphi.std.system.exec.Exec
 
getRegisterStandardTypeConverters() - Static method in class com.peterphi.std.xstream.XStreamHelper
Determines whether standard type converters have been enabled
getRight() - Method in class com.peterphi.std.types.Both
 
getRight() - Method in class com.peterphi.std.types.Either
 
getSampleCount() - Method in class com.peterphi.std.types.Timecode
Returns a sample count as a delta from the timecode 00:00:00:00
getSampleCount(Timecode) - Method in class com.peterphi.std.types.Timecode
Returns a sample count as an offset from the provided timecode
The resulting timecode will be expressed in the same timebase as this object
getSampleCountPrecise(Timecode) - Method in class com.peterphi.std.types.Timecode
Returns a sample count as an offset from the provided timecode
The resulting timecode will be expressed in the same timebase as this object
getSamples() - Method in class com.peterphi.std.types.SampleCount
 
getSamples(Timebase) - Method in class com.peterphi.std.types.SampleCount
Returns the number of samples represented by this SampleCount, converted to newRate.
This method can lose precision if the samples cannot be precisely represented.
getSamplesPerSecond() - Method in class com.peterphi.std.types.Timebase
The number of samples each second
getSamplesPrecise(Timebase) - Method in class com.peterphi.std.types.SampleCount
Returns the number of samples represented by this SampleCount, converted to newRate.
getSeconds() - Method in class com.peterphi.std.types.SampleCount
Compute the duration of this sample count in seconds
The intention of this method is to be used for presentation, rather than accurate computation so it does not warn about resampling errors
getSeconds() - Method in class com.peterphi.std.types.TimecodeBuilder
 
getSecondsPart() - Method in class com.peterphi.std.types.Timecode
 
getSecondsPerSample() - Method in class com.peterphi.std.types.Timebase
The number of seconds each sample represents
getSingular() - Method in enum com.peterphi.std.types.StorageUnit
Get the singular version of this unit (e.g.
getSmpteTimecode(String, Timebase) - Static method in class com.peterphi.std.types.Timecode
Deprecated.
getStandardError() - Method in class com.peterphi.std.system.exec.Execed
 
getStandardErrorStream() - Method in class com.peterphi.std.system.exec.BaseExeced
 
getStandardInputStream() - Method in class com.peterphi.std.system.exec.BaseExeced
 
getStandardOut() - Method in class com.peterphi.std.system.exec.Execed
 
getStandardOutputStream() - Method in class com.peterphi.std.system.exec.BaseExeced
 
getStart() - Method in class com.peterphi.std.types.TimecodeRange
 
getStart() - Method in class com.peterphi.std.util.Ticker
 
getStartDate() - Method in class com.peterphi.std.util.Ticker
 
getSubjectDNFromChain(List<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
Extracts the Subject: the final certificate in a chain
getTimebase() - Method in class com.peterphi.std.types.Timecode
 
getTimeLeft() - Method in class com.peterphi.std.threading.Deadline
Determines the amount of time left (in milliseconds) until the deadline; if the deadline has been reached or passed this method returns 0
getTimeLeft(TimeUnit) - Method in class com.peterphi.std.threading.Deadline
Determines the amount of time left (in a custom unit) until the deadline; if the deadline has been reached or passed this method returns 0
getTimeoutLeft() - Method in class com.peterphi.std.threading.Deadline
Determines the amount of time leftuntil the deadline and returns it as a timeout
getType() - Method in class com.peterphi.std.crypto.keystore.Keystore
 
getUnit() - Method in class com.peterphi.std.types.StorageSize
The unit which this Storage Size should be expressed by default
getURI(String, String) - Method in class com.peterphi.std.io.PropertyFile
 
getVariableCount() - Method in class com.peterphi.std.io.PropertyFile
 
getVerifier() - Method in class com.peterphi.std.crypto.digest.Digests
 
getVerifier(boolean) - Method in class com.peterphi.std.crypto.digest.Digests
Acquire a verifier capable of determining whether a download is valid
If no digests are available then a verifier will be returned that considers anything valid
getWildcardMask() - Method in class com.peterphi.std.types.InetSubnet
Retrieves the wildcard mask for the netmask of this subnet
getWorkingDirectory() - Method in class com.peterphi.std.system.exec.Exec
 
GLOBUS - Static variable in class com.peterphi.std.crypto.DNReformatter
Synonym for ACTIVE_DIRECTORY, the style that Globus applications tend to use (descending (CN last), slash-separated with a leading slash)
GLOBUS_ALGORITHM_HACK - Static variable in class com.peterphi.std.crypto.keygen.CaHelper
If true, changes the default algorithm to MD5WITHRSA
GLOBUS_COG_HACK - Static variable in class com.peterphi.std.crypto.keygen.CaHelper
If true, enables a hack which works around GT 4.2.1 "Bug 3299:12 Extended Key Usage certificate extension not supported" (a problem in CoG)
gt(int) - Static method in class com.peterphi.std.types.CompareHelper
Evaluates the result of a.compareTo(b) and returns a > b
gt(Comparable<T>, T) - Static method in class com.peterphi.std.types.CompareHelper
a > b
gt(Timecode) - Method in class com.peterphi.std.types.Timecode
 
gt(Timecode, Timecode) - Static method in class com.peterphi.std.types.TimecodeComparator
 
GZIP - Static variable in class com.peterphi.std.util.Base64
Specify that data should be gzip-compressed in second bit.

H

hashCode() - Method in class com.peterphi.std.threading.Deadline
 
hashCode() - Method in class com.peterphi.std.threading.Timeout
 
hashCode() - Method in class com.peterphi.std.types.Both
 
hashCode() - Method in class com.peterphi.std.types.Either
 
hashCode() - Method in class com.peterphi.std.types.Id
 
hashCode() - Method in class com.peterphi.std.types.InetSubnet
 
hashCode() - Method in class com.peterphi.std.types.SampleCount
 
hashCode() - Method in class com.peterphi.std.types.StorageSize
 
hashCode() - Method in class com.peterphi.std.types.Timebase
 
hashCode() - Method in class com.peterphi.std.types.Timecode
 
hashCode() - Method in class com.peterphi.std.types.TimecodeRange
 
hashCode() - Method in class com.peterphi.std.types.Version
Produces a fairly unreliable hashCode (eg.
hashpw(String, String) - Static method in class com.peterphi.std.crypto.BCrypt
Hash a password using the OpenBSD bcrypt scheme
hasKeyPair(String) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
hasMoreElements() - Method in class com.peterphi.std.types.HybridIterator
 
hasNext() - Method in class com.peterphi.std.types.HybridIterator
 
hasSignature() - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Determines whether this document has a signature tag
hasXPP3() - Static method in class com.peterphi.std.xstream.XSHelper
Determines if XPP3 is available, caching the results of the first query
head(List<T>) - Static method in class com.peterphi.std.util.ListUtility
Returns the first element of a list (or null if the list is empty)
HexHelper - Class in com.peterphi.std.util
A helper class which handles encoding and decoding hexidecimal
hideErrors - Variable in class com.peterphi.std.xstream.XSHelper
 
hook_added(String, String) - Method in class com.peterphi.std.io.PropertyFile
 
hook_changed(String, String, String) - Method in class com.peterphi.std.io.PropertyFile
 
hook_cleared() - Method in class com.peterphi.std.io.PropertyFile
 
hook_loaded() - Method in class com.peterphi.std.io.PropertyFile
 
hook_merge_begin() - Method in class com.peterphi.std.io.PropertyFile
 
hook_merge_complete() - Method in class com.peterphi.std.io.PropertyFile
 
hook_removed(String) - Method in class com.peterphi.std.io.PropertyFile
 
hook_saved() - Method in class com.peterphi.std.io.PropertyFile
 
HybridIterator<T> - Class in com.peterphi.std.types
An Iterator and Enumeration class
HybridIterator(T[]) - Constructor for class com.peterphi.std.types.HybridIterator
 
HybridIterator(T[], int, int) - Constructor for class com.peterphi.std.types.HybridIterator
 
HybridIterator(Iterator<T>) - Constructor for class com.peterphi.std.types.HybridIterator
 
HybridIterator(Iterable<T>) - Constructor for class com.peterphi.std.types.HybridIterator
 
HybridIterator(Enumeration<T>) - Constructor for class com.peterphi.std.types.HybridIterator
 
HZ_1 - Static variable in class com.peterphi.std.types.Timebase
1 Hz (1 frame = 1 second)
HZ_1000 - Static variable in class com.peterphi.std.types.Timebase
1 kHz (1 frame = 1 millisecond.
HZ_1000000 - Static variable in class com.peterphi.std.types.Timebase
1 MHz (Vidispine transcoder default sampling rate)
HZ_192000 - Static variable in class com.peterphi.std.types.Timebase
 
HZ_25 - Static variable in class com.peterphi.std.types.Timebase
 
HZ_27000000 - Static variable in class com.peterphi.std.types.Timebase
27 MHz (sampling rate used by Carbon)
HZ_30 - Static variable in class com.peterphi.std.types.Timebase
 
HZ_44100 - Static variable in class com.peterphi.std.types.Timebase
 
HZ_48000 - Static variable in class com.peterphi.std.types.Timebase
 
HZ_50 - Static variable in class com.peterphi.std.types.Timebase
 
HZ_96000 - Static variable in class com.peterphi.std.types.Timebase
 

I

ICopyProgressMonitor - Interface in com.peterphi.std.io
 
Id - Class in com.peterphi.std.types
An abstract base type for a case-sensitive identifier
All implementations must directly extend this type (ie.
Id(String) - Constructor for class com.peterphi.std.types.Id
Constructs a new id
id - Variable in class com.peterphi.std.types.Id
The internal value of this id; while public, this should only be required very rarely
IDigester - Interface in com.peterphi.std.crypto.digest
An interface for an implementation of a message digest algorithm
IDigestVerifier - Interface in com.peterphi.std.crypto.digest
A method which can verify that a piece of content matches an expected digest
IMergeConflictResolver - Interface in com.peterphi.std.io.properties
 
Inet4AddressConverter - Class in com.peterphi.std.xstream.serialisers
Title: Inet4Address Converter
Inet4AddressConverter() - Constructor for class com.peterphi.std.xstream.serialisers.Inet4AddressConverter
 
Inet6AddressConverter - Class in com.peterphi.std.xstream.serialisers
Title: Inet6Address Converter
Inet6AddressConverter() - Constructor for class com.peterphi.std.xstream.serialisers.Inet6AddressConverter
 
InetAddressConverter - Class in com.peterphi.std.xstream.serialisers
 
InetAddressConverter() - Constructor for class com.peterphi.std.xstream.serialisers.InetAddressConverter
 
InetSubnet - Class in com.peterphi.std.types
Represents an IPv4 network subnet (a combination of an IP address and a prefix.
InetSubnet(InterfaceAddress) - Constructor for class com.peterphi.std.types.InetSubnet
 
InetSubnet(String) - Constructor for class com.peterphi.std.types.InetSubnet
Constructs an inet subnet from CIDR representation (x.x.x.x/prefix)
InetSubnet(String, int) - Constructor for class com.peterphi.std.types.InetSubnet
 
InetSubnet(int, int) - Constructor for class com.peterphi.std.types.InetSubnet
Construct a subnet based on
InetSubnet(InetAddress, int) - Constructor for class com.peterphi.std.types.InetSubnet
Produces a subnet based on a network IP and a prefix
InetSubnet(InetAddress, InetAddress) - Constructor for class com.peterphi.std.types.InetSubnet
Produces a subnet based on a network IP and a netmask.
init() - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
interested(DERObjectIdentifier) - Method in class com.peterphi.std.crypto.DNReformatter
 
interrupt(boolean) - Method in class com.peterphi.std.threading.Daemon
Politely asks the daemon to reconsider its termination condition.
intsToBytes(int[]) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
intsToBytes(List<Integer>) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
intToBytes(int) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
IpHelper - Class in com.peterphi.std.net
 
IPProtocol - Enum in com.peterphi.std.net
An enumeration of common Internet Protocols
IPV4_ADDRESS_SPACE - Static variable in class com.peterphi.std.types.InetSubnet
The entire IPv4 address space (including restricted/reserved/private IPs)
This is the subnet 0.0.0.0/0
IPV6_ZERO - Static variable in class com.peterphi.std.net.IpHelper
The IPv6 equivalent of the "Quad Zero" IPv4 address (0.0.0.0).
isAbsoluteFile(File) - Static method in class com.peterphi.std.io.FileHelper
 
isAbsoluteFile(String) - Static method in class com.peterphi.std.io.FileHelper
 
isAncestor(File, File) - Static method in class com.peterphi.std.io.FileHelper
 
isAvailable() - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Determines whether this algorithm is available for use
isBlacklisted() - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Determines whether this algorithm has been blacklisted.
Blacklisted algorithms must not be used
isCancelled() - Method in class com.peterphi.std.threading.SettableFuture
 
isCanonical() - Method in class com.peterphi.std.types.InetSubnet
Determines whether this InetSubnet is currently in its canonical form
isCryptographicallySecure() - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
 
isDone() - Method in class com.peterphi.std.threading.SettableFuture
 
isDropFrame() - Method in class com.peterphi.std.types.Timecode
 
isDropFrame() - Method in class com.peterphi.std.types.TimecodeBuilder
 
isExpired() - Method in class com.peterphi.std.threading.Deadline
Determines whether the deadline has expired yet
isFinished() - Method in class com.peterphi.std.system.exec.BaseExeced
Determines if the application has completed yet
isFinished() - Method in class com.peterphi.std.system.exec.Execed
 
isLeft() - Method in class com.peterphi.std.types.Either
 
isLocalAddress(String) - Static method in class com.peterphi.std.net.IpHelper
Determines if a specified host or IP refers to the local machine
isLocalAddress(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Determines if a specified host or IP refers to the local machine
isMember(int) - Method in class com.peterphi.std.types.InetSubnet
Determines whether a given IP, in numeric representation (as returned by aton()) is a member of this subnet
This is the fastest way to determine subnet membership
isMember(String) - Method in class com.peterphi.std.types.InetSubnet
Determines whether a given IP, given as an IPv4 address in its string representation (x.x.x.x) is a member of this subnet
isMember(InetAddress) - Method in class com.peterphi.std.types.InetSubnet
Determines whether a given IP is a member of this subnet
isNegative() - Method in class com.peterphi.std.types.Timecode
 
isNegative() - Method in class com.peterphi.std.types.TimecodeBuilder
 
isPublicallyRoutable(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Deprecated.
use isPubliclyRoutable(java.net.InetAddress)
isPubliclyRoutable(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Determines whether a particular IP address is publicly routable on the internet
isRight() - Method in class com.peterphi.std.types.Either
 
isRunning() - Method in class com.peterphi.std.threading.Daemon
Returns whether the daemon is in the process of terminating
isSelfSigned(X509Certificate) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
Determines if a certificate is a self signed certificate
isSignedBy(X509Certificate, PublicKey) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
 
IssuedCertificate - Class in com.peterphi.std.crypto.keygen.ca
 
IssuedCertificate(X509Certificate, KeyPair, X509Certificate) - Constructor for class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
issueServer(PublicKey, String) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
issueUser(PublicKey, String) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
isThreadRunning() - Method in class com.peterphi.std.threading.Daemon
Determines if this daemon's thread is alive
isValid() - Method in class com.peterphi.std.threading.Deadline
Determine whether the deadline is still valid (ie.
isValidCiscoWildcard(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Determines if a specified address is a valid Cisco Wildcard (cisco's representation of a netmask)
isValidNetmask(String) - Static method in class com.peterphi.std.net.IpHelper
Validates a netmask
isValidNetmask(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Validates a netmask
isValidNetmask(byte[]) - Static method in class com.peterphi.std.net.IpHelper
Validates a netmask
isZero() - Method in class com.peterphi.std.types.StorageSize
Determines whether this StorageSize represents zero (which is the same in any unit)
iterate(Iterator<T>) - Static method in class com.peterphi.std.util.ListUtility
 
iterate(Enumeration<T>) - Static method in class com.peterphi.std.util.ListUtility
 
iterator() - Method in class com.peterphi.std.types.HybridIterator
 

J

JAXBRuntimeException - Exception in com.peterphi.std.util.jaxb.exception
A RuntimeException version of a JAXBException
JAXBRuntimeException(String, Throwable) - Constructor for exception com.peterphi.std.util.jaxb.exception.JAXBRuntimeException
 
JAXBRuntimeException(Throwable) - Constructor for exception com.peterphi.std.util.jaxb.exception.JAXBRuntimeException
 
JAXBRuntimeException(String) - Constructor for exception com.peterphi.std.util.jaxb.exception.JAXBRuntimeException
 
JAXBSerialiser - Class in com.peterphi.std.util.jaxb
A thread-safe, caching JAXB helper type.
JAXBSerialiserFactory - Class in com.peterphi.std.util.jaxb
A factory for JAXBSerialiser instances that can optionally be forced to use EclipseLink MOXy (or use the default JAXBContext implementation acquisition rules)
JAXBSerialiserFactory(boolean) - Constructor for class com.peterphi.std.util.jaxb.JAXBSerialiserFactory
 
JCEDigester - Class in com.peterphi.std.crypto.digest.impl
A digester which uses the default JCE digest providers for its algorithms
JCEDigester(String) - Constructor for class com.peterphi.std.crypto.digest.impl.JCEDigester
 
JDOMUtils - Class in com.peterphi.std.util
 
join(String, String...) - Static method in class com.peterphi.std.system.exec.Exec
 
join(String, List<String>) - Static method in class com.peterphi.std.system.exec.Exec
 
join(Iterable<T>...) - Static method in class com.peterphi.std.util.ListUtility
 

K

KeyFingerprinting - Class in com.peterphi.std.crypto.digest
A helper method which simplifies the task of producing and comparing fingerprints of keys
keyIterator() - Method in class com.peterphi.std.io.PropertyFile
 
keypair - Variable in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
keySet() - Method in class com.peterphi.std.io.PropertyFile
 
Keystore - Class in com.peterphi.std.crypto.keystore
Title: Java Keystore Reference
Keystore() - Constructor for class com.peterphi.std.crypto.keystore.Keystore
 
Keystore(String, File, String) - Constructor for class com.peterphi.std.crypto.keystore.Keystore
 
KeystoreHelper - Class in com.peterphi.std.crypto.keystore
Helps load key/trust material from various on-disk representations
Requires the BouncyCastle library (which is registered if it's not already available)
kill() - Method in class com.peterphi.std.system.exec.BaseExeced
 
kill() - Method in class com.peterphi.std.system.exec.Execed
 

L

largest(StorageUnit, StorageUnit) - Static method in enum com.peterphi.std.types.StorageUnit
Returns the the larger unit of unit and unit2
last(List<T>, int) - Static method in class com.peterphi.std.util.ListUtility
Return, at most, the last n items from the source list
latest(Deadline...) - Static method in class com.peterphi.std.threading.Deadline
Retrieve the deadline with the most time remaining until it expires
LDAP - Static variable in class com.peterphi.std.crypto.DNReformatter
LDAP's default style (ascending (CN first), comma-separated)
le(int) - Static method in class com.peterphi.std.types.CompareHelper
Evaluates the result of a.compareTo(b) and returns a <= b
le(Comparable<T>, T) - Static method in class com.peterphi.std.types.CompareHelper
a <= b
le(Timecode) - Method in class com.peterphi.std.types.Timecode
 
le(Timecode, Timecode) - Static method in class com.peterphi.std.types.TimecodeComparator
 
left - Variable in class com.peterphi.std.types.Either
 
length(T[]) - Static method in class com.peterphi.std.util.ListUtility
 
length(Collection<T>) - Static method in class com.peterphi.std.util.ListUtility
 
LengthDigester - Class in com.peterphi.std.crypto.digest.impl
A digest algorithm which takes the length of the data as its digest
list(T[]) - Static method in class com.peterphi.std.util.ListUtility
 
list(List<T>) - Static method in class com.peterphi.std.util.ListUtility
 
list(Iterable<T>) - Static method in class com.peterphi.std.util.ListUtility
Converts an Iterable into a List
ListUtility - Class in com.peterphi.std.util
 
ListUtility() - Constructor for class com.peterphi.std.util.ListUtility
 
load() - Method in class com.peterphi.std.io.PropertyFile
 
load(Properties) - Method in class com.peterphi.std.io.PropertyFile
 
load(File) - Method in class com.peterphi.std.io.PropertyFile
 
load(InputStream) - Method in class com.peterphi.std.io.PropertyFile
 
load(Reader) - Method in class com.peterphi.std.io.PropertyFile
 
loadCA() - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
loadPublicKeys() - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
lockFile(File) - Static method in class com.peterphi.std.io.FileHelper
Obtains an exclusive lock on the specified file.
Logging - Class in com.peterphi.std.util
Automates the configuration of
longToBytes(long) - Static method in class com.peterphi.std.io.nio.NIOHelper
 
lt(int) - Static method in class com.peterphi.std.types.CompareHelper
Evaluates the result of a.compareTo(b) and returns a < b
lt(Comparable<T>, T) - Static method in class com.peterphi.std.types.CompareHelper
a < b
lt(Timecode) - Method in class com.peterphi.std.types.Timecode
 
lt(Timecode, Timecode) - Static method in class com.peterphi.std.types.TimecodeComparator
 

M

main(String[]) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
makeDigest(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
makeDigest(File) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
makeDigest(InputStream) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
makeDigest(ByteChannel) - Method in class com.peterphi.std.crypto.digest.impl.AbstractDigester
 
makeDigest(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
makeDigest(InputStream) - Method in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
makeDigest(ByteChannel) - Method in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
makeReadOnly() - Method in class com.peterphi.std.io.PropertyFile
Make this PropertyFile object read-only
MapStringStringConverter - Class in com.peterphi.std.xstream.serialisers
 
MapStringStringConverter() - Constructor for class com.peterphi.std.xstream.serialisers.MapStringStringConverter
 
mark(int) - Method in class com.peterphi.std.io.CharSequenceReader
Marks the present position in the stream.
mark(int) - Method in class com.peterphi.std.io.StringBuilderReader
Marks the present position in the stream.
markSupported() - Method in class com.peterphi.std.io.CharSequenceReader
Tells whether this stream supports the mark() operation, which it does.
markSupported() - Method in class com.peterphi.std.io.StringBuilderReader
Tells whether this stream supports the mark() operation, which it does.
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - Method in class com.peterphi.std.xstream.serialisers.MapStringStringConverter
 
max(Timeout...) - Static method in class com.peterphi.std.threading.Timeout
Filter through a number of timeouts to find the one with the longest period
max(Timecode...) - Static method in class com.peterphi.std.types.TimecodeComparator
Returns the larger of a number of timecodes
MAX_VALUE - Static variable in class com.peterphi.std.threading.Deadline
A deadline which will never arrive - representing the year 292278994, on Sun Aug 17 at 07:12:55 UTC
MAX_VALUE - Static variable in class com.peterphi.std.threading.Timeout
The maximum possible timeout
MAX_VALUE - Static variable in class com.peterphi.std.types.Version
 
MD2 - Static variable in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
MD5 - Static variable in class com.peterphi.std.crypto.digest.DigestHelper
 
md5(File) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
md5(File, int) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
MD5 - Static variable in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
member(int) - Method in class com.peterphi.std.types.InetSubnet
Deprecated.
use isMember instead
member(String) - Method in class com.peterphi.std.types.InetSubnet
Deprecated.
use isMember instead
member(InetAddress) - Method in class com.peterphi.std.types.InetSubnet
Deprecated.
use isMember instead
merge(PropertyFile) - Method in class com.peterphi.std.io.PropertyFile
Merges another PropertyFile into this PropertyFile, overwriting any conflicting properties with the value from other
merge(PropertyFile, IMergeConflictResolver) - Method in class com.peterphi.std.io.PropertyFile
Merges another PropertyFile into this PropertyFile, using an optional merge conflict resolver
If no merge conflict resolver is specified then the default will be that the properties from other will overwrite the local properties
merge(Properties) - Method in class com.peterphi.std.io.PropertyFile
Merges another PropertyFile into this PropertyFile, overwriting any conflicting properties with the value from other
merge(Properties, IMergeConflictResolver) - Method in class com.peterphi.std.io.PropertyFile
Merges another PropertyFile into this PropertyFile, using an optional merge conflict resolver
If no merge conflict resolver is specified then the default will be that the properties from other will overwrite the local properties
merge(TimecodeRange, TimecodeRange) - Static method in class com.peterphi.std.types.TimecodeRange
Produce a new Timecode range which includes all timecodes from a and b.
message - Variable in class com.peterphi.std.types.BooleanMessage
 
min(Timeout...) - Static method in class com.peterphi.std.threading.Timeout
Filter through a number of timeouts to find the one with the shortest period
min(Timecode...) - Static method in class com.peterphi.std.types.TimecodeComparator
Returns the smaller of some timecodes
MIN_VALUE - Static variable in class com.peterphi.std.types.Version
 
monitor - Variable in class com.peterphi.std.system.exec.BaseExeced
 
MONITOR_UPDATE_INTERVAL - Static variable in class com.peterphi.std.io.StreamUtil
 
move(File, File) - Static method in class com.peterphi.std.io.FileHelper
 
MultiOSFileConverter - Class in com.peterphi.std.xstream.serialisers
 
MultiOSFileConverter() - Constructor for class com.peterphi.std.xstream.serialisers.MultiOSFileConverter
 
multiply(long) - Method in class com.peterphi.std.threading.Timeout
Create a new Timeout which is equal to this timeout multiplied by some value
multiply(double) - Method in class com.peterphi.std.threading.Timeout
Create a new Timeout which is equal to this timeout multiplied by some value
The resulting Timeout will be in milliseconds to maximise precision.
multiply(BigInteger) - Method in class com.peterphi.std.types.StorageSize
Multiplies the storage size by a certain amount
mycert - Variable in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 

N

name - Variable in class com.peterphi.std.io.PropertyFile.NameValuePair
 
netmaskToPrefix(InetAddress) - Static method in class com.peterphi.std.net.IpHelper
Determines the prefix for a given netmask (ie.
netscapeCertType - Static variable in class com.peterphi.std.crypto.keygen.CaHelper
 
network - Variable in class com.peterphi.std.types.InetSubnet
 
NETWORK_DECIMAL - Static variable in enum com.peterphi.std.types.StorageUnit
 
newChecksum() - Method in class com.peterphi.std.crypto.digest.impl.CRC32Digester
 
newInstance() - Method in class com.peterphi.std.crypto.digest.impl.JCEDigester
Constructs a new instance of the digest algorithm
newLine(StringBuilder) - Method in class com.peterphi.std.io.TabLevel
 
newLine() - Method in class com.peterphi.std.io.TabLevel
 
next() - Method in class com.peterphi.std.types.HybridIterator
 
nextElement() - Method in class com.peterphi.std.types.HybridIterator
 
NIOHelper - Class in com.peterphi.std.io.nio
 
NIOHelper() - Constructor for class com.peterphi.std.io.nio.NIOHelper
 
NO_OPTIONS - Static variable in class com.peterphi.std.util.Base64
No options specified.
NoInterfaceException - Exception in com.peterphi.std.net
 
NoInterfaceException() - Constructor for exception com.peterphi.std.net.NoInterfaceException
 
NoInterfaceException(String) - Constructor for exception com.peterphi.std.net.NoInterfaceException
 
NoInterfaceException(String, Throwable) - Constructor for exception com.peterphi.std.net.NoInterfaceException
 
NoMacAddressException - Exception in com.peterphi.std.net
 
NoMacAddressException() - Constructor for exception com.peterphi.std.net.NoMacAddressException
 
NoMacAddressException(String) - Constructor for exception com.peterphi.std.net.NoMacAddressException
 
NoMacAddressException(String, Throwable) - Constructor for exception com.peterphi.std.net.NoMacAddressException
 
normalise(String) - Static method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
Normalises an existing fingerprint
normaliseChain(List<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
Take a chain and return a (Read-only) chain with the root certificate as the first entry
NotImplementedException - Exception in com.peterphi.std
Description: An Error thrown when some functionality is not yet implemented.
NotImplementedException() - Constructor for exception com.peterphi.std.NotImplementedException
 
NotImplementedException(String) - Constructor for exception com.peterphi.std.NotImplementedException
 
NotImplementedException(String, Throwable) - Constructor for exception com.peterphi.std.NotImplementedException
 
ntoa(byte[]) - Static method in class com.peterphi.std.net.IpHelper
 
ntoa(int) - Static method in class com.peterphi.std.net.IpHelper
Converts numeric address to an InetAddress
NTSC - Static variable in class com.peterphi.std.types.Timebase
29.97 Hz (NTSC)
NullOutputStream - Class in com.peterphi.std.io
An OutputStream which immediately discards all writes
NullOutputStream() - Constructor for class com.peterphi.std.io.NullOutputStream
 
NullVerifier - Class in com.peterphi.std.crypto.digest.impl
A Digest Verifier which always returns the same result (by default, true)
NullVerifier() - Constructor for class com.peterphi.std.crypto.digest.impl.NullVerifier
Creates a verifier which always returns true
NullVerifier(boolean) - Constructor for class com.peterphi.std.crypto.digest.impl.NullVerifier
Creates a verifier which always returns result

O

on_cancel() - Method in class com.peterphi.std.threading.SettableFuture
 
on_set() - Method in class com.peterphi.std.threading.SettableFuture
 
ONE_MINUTE - Static variable in class com.peterphi.std.threading.Timeout
One minute
ONE_QUARTER_SECOND - Static variable in class com.peterphi.std.threading.Timeout
0.25 seconds (250 milliseconds)
ONE_SECOND - Static variable in class com.peterphi.std.threading.Timeout
One second
openResource(ClassLoader, URL, String) - Static method in class com.peterphi.std.io.PropertyFile
 
OPENSSL - Static variable in class com.peterphi.std.crypto.openssl.OpenSSLPKCS12
 
openssl_X509_NAME_hash(X500Principal) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
Generates a hexidecimal OpenSSL X509_NAME hash (as used in openssl x509 -hash -in cert.pem)
Based on openssl's crypto/x509/x509_cmp.c line 321
opensslHash(X509Certificate) - Static method in class com.peterphi.std.crypto.keygen.CaHelper
 
OpenSSLPKCS12 - Class in com.peterphi.std.crypto.openssl
 
OpenSSLPKCS12() - Constructor for class com.peterphi.std.crypto.openssl.OpenSSLPKCS12
 
order(List<DNReformatter.DNInformation>) - Method in class com.peterphi.std.crypto.DNReformatter
 
ORDERED - Static variable in class com.peterphi.std.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
overlapping(Version, Version, Version, Version) - Static method in class com.peterphi.std.types.Version
Determines if 2 version ranges have any overlap
overlaps(TimecodeRange) - Method in class com.peterphi.std.types.TimecodeRange
Determines whether two timecode ranges overlap (or are equivalent)

P

P12toPEM(File, String, File, String) - Static method in class com.peterphi.std.crypto.openssl.OpenSSLPKCS12
 
ParamInvokeable<T> - Class in com.peterphi.std.threading
A special ParamRunnable which runs synchronously once prepare() is called
ParamInvokeable() - Constructor for class com.peterphi.std.threading.ParamInvokeable
 
ParamRunnable<T> - Class in com.peterphi.std.threading
A class encapsulating the Runnable idea, mixed with Callable - instead of having a return type, this takes an argument to be passed to the run method
ParamRunnable() - Constructor for class com.peterphi.std.threading.ParamRunnable
 
ParamRunnableShell<T> - Class in com.peterphi.std.threading
The Runnable shell in which a ParamRunnable is wrapped once its prepare() method is called
ParamRunnableShell(ParamRunnable<T>, T) - Constructor for class com.peterphi.std.threading.ParamRunnableShell
 
parse(X509Name) - Method in class com.peterphi.std.crypto.DNReformatter
 
parse(String) - Static method in class com.peterphi.std.net.IpHelper
Parses an IP address, throwing an IllegalArgumentException (rather than an UnknownHostException) if it is invalid
parse(String) - Static method in enum com.peterphi.std.types.StorageUnit
Parse the non-ISO abbreviation: MiB and MB both -> MEGABYTE (which is technically a "Mebibyte")
parse(File) - Static method in class com.peterphi.std.util.DOMUtils
 
parse(String) - Static method in class com.peterphi.std.util.DOMUtils
 
parse(InputStream) - Static method in class com.peterphi.std.util.DOMUtils
 
parse(Reader) - Static method in class com.peterphi.std.util.DOMUtils
 
parse(InputSource) - Static method in class com.peterphi.std.util.DOMUtils
 
parse(String) - Static method in class com.peterphi.std.util.JDOMUtils
 
parse(byte[]) - Static method in class com.peterphi.std.util.JDOMUtils
 
parse(File) - Static method in class com.peterphi.std.util.JDOMUtils
 
parse(InputStream) - Static method in class com.peterphi.std.util.JDOMUtils
 
parse(Reader) - Static method in class com.peterphi.std.util.JDOMUtils
 
parseAnnotations(Class<?>...) - Method in class com.peterphi.std.xstream.XSHelper
 
parseISO(String) - Static method in enum com.peterphi.std.types.StorageUnit
Parse the ISO abbreviation: (e.g.
parseKeyJKS(File) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads key material from a JKS-encoded file
parseKeyJKS(InputStream) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads key material from a JKS-encoded InputStream
parseKeyP12(File) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads key material from a PKCS12-encoded file
parseKeyP12(InputStream) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads key material from a PKCS12-encoded InputStream
parseKeyPEM(File) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads key material from a PEM-encoded file
parseKeyPEM(Reader) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads key material from a PEM-encoded Reader
parsePrivateKey(String, byte[]) - Static method in class com.peterphi.std.crypto.keystore.DERUtil
 
parseRSAPrivateKey(byte[]) - Static method in class com.peterphi.std.crypto.keystore.DERUtil
 
parseStringComparable(String) - Static method in class com.peterphi.std.types.Version
 
parseTrustJKS(File) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads trust material from a JKS-encoded file
parseTrustJKS(InputStream) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads trust material from a JKS-encoded InputStream
parseTrustP12(File) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads trust material from a PKCS12-encoded file
parseTrustP12(InputStream) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads trust material from a PKCS12-encoded InputStream
parseTrustPEM(File) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads trust material from a PEM-encoded file
parseTrustPEM(Reader) - Static method in class com.peterphi.std.crypto.keystore.KeystoreHelper
Loads key/trust material from a PEM-encoded Reader
parseVidispine(String) - Static method in class com.peterphi.std.types.SampleCount
Deprecated.
parseX509(byte[]) - Static method in class com.peterphi.std.crypto.keystore.DERUtil
 
parseX509(Iterable<byte[]>) - Static method in class com.peterphi.std.crypto.keystore.DERUtil
 
password - Variable in class com.peterphi.std.crypto.keystore.Keystore
 
PEMtoP12(File, String, File, String) - Static method in class com.peterphi.std.crypto.openssl.OpenSSLPKCS12
 
physicalAddressToString(byte[]) - Static method in class com.peterphi.std.net.IpHelper
 
PKCS12ToPEM - Class in com.peterphi.std.crypto.keystore
Assists in the conversion of PKCS12 files to PEM files.
PKCS12ToPEM() - Constructor for class com.peterphi.std.crypto.keystore.PKCS12ToPEM
 
PKCS8Util - Class in com.peterphi.std.crypto.keystore
PKCS8 Utilities
PKCS8Util() - Constructor for class com.peterphi.std.crypto.keystore.PKCS8Util
 
poll() - Method in class com.peterphi.std.threading.SettableFuture
 
prefix - Variable in class com.peterphi.std.types.InetSubnet
 
prefixToMask(int) - Static method in class com.peterphi.std.net.IpHelper
Turns an IPv4 prefix into a numeric mask (the equivalent of running IpHelper.aton(prefixToNetmask(prefix)) but significantly faster)
prefixToNetmask(int) - Static method in class com.peterphi.std.net.IpHelper
Turns an IPv4 prefix into a netmask
prepare(T) - Method in class com.peterphi.std.threading.ParamInvokeable
Deprecated.
if calling a ParamInvokeable directly the call(T) method should be used; this method is for maintaining full backwards compatibility with ParamRunnable
prepare(T) - Method in class com.peterphi.std.threading.ParamRunnable
 
prepared - Variable in class com.peterphi.std.threading.ParamRunnable
 
process - Variable in class com.peterphi.std.system.exec.BaseExeced
 
progress(long) - Method in interface com.peterphi.std.io.ICopyProgressMonitor
 
PropertyFile - Class in com.peterphi.std.io
 
PropertyFile(File) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile(File, boolean) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile() - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile(InputStream, boolean) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile(Reader) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile(Reader, boolean) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile(InputStream) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile(Properties) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile(Properties, boolean) - Constructor for class com.peterphi.std.io.PropertyFile
 
PropertyFile.BlankLine - Class in com.peterphi.std.io
 
PropertyFile.BlankLine() - Constructor for class com.peterphi.std.io.PropertyFile.BlankLine
 
PropertyFile.Comment - Class in com.peterphi.std.io
 
PropertyFile.Comment(String) - Constructor for class com.peterphi.std.io.PropertyFile.Comment
 
PropertyFile.Entry - Class in com.peterphi.std.io
 
PropertyFile.Entry() - Constructor for class com.peterphi.std.io.PropertyFile.Entry
 
PropertyFile.NameValuePair - Class in com.peterphi.std.io
 
PropertyFile.NameValuePair(String, String) - Constructor for class com.peterphi.std.io.PropertyFile.NameValuePair
 
PROVIDER - Static variable in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 

Q

QUAD_ZERO - Static variable in class com.peterphi.std.net.IpHelper
The "Quad Zero" IPv4 address: 0.0.0.0

R

random() - Static method in class com.peterphi.std.types.SimpleId
Return an Id which uses 32 random alphanumeric characters as its value
read() - Method in class com.peterphi.std.io.CharSequenceReader
Reads a single character.
read(char[], int, int) - Method in class com.peterphi.std.io.CharSequenceReader
Reads characters into a portion of an array.
read() - Method in class com.peterphi.std.io.StringBuilderReader
Reads a single character.
read(char[], int, int) - Method in class com.peterphi.std.io.StringBuilderReader
Reads characters into a portion of an array.
readBytes(InputStream, int) - Static method in class com.peterphi.std.io.StreamUtil
 
readFromSystem(boolean) - Method in class com.peterphi.std.crypto.keystore.Keystore
 
readOnly - Variable in class com.peterphi.std.io.PropertyFile
 
readOnly(File) - Static method in class com.peterphi.std.io.PropertyFile
Creates a read-only version of a property file
Fails if the file does not exist.
readOnlyUnion(File...) - Static method in class com.peterphi.std.io.PropertyFile
Creates a read-only union of a number of property files
If any property file is null or the file it points to does not exist then it is ignored
readOnlyUnion(PropertyFile...) - Static method in class com.peterphi.std.io.PropertyFile
Construct a new read-only PropertyFile which merges the contents of a number of other PropertyFile objects
Null PropertyFiles are ignored.
readPID(File) - Static method in class com.peterphi.std.io.FileHelper
Reads a PID (Process Id) file
readPID(File, boolean) - Static method in class com.peterphi.std.io.FileHelper
Reads a PID (Process Id) file
ready() - Method in class com.peterphi.std.io.CharSequenceReader
Tells whether this stream is ready to be read.
ready() - Method in class com.peterphi.std.io.StringBuilderReader
Tells whether this stream is ready to be read.
reformat(X500Principal) - Method in class com.peterphi.std.crypto.DNReformatter
This is a convenience method which calls reformatToString and wraps the result in an X500Principal; this method will fail with an IllegalArgumentException if the output of this formatter is not parseable by X500Principal (eg.
reformat(X509Name) - Method in class com.peterphi.std.crypto.DNReformatter
This is a convenience method which calls reformatToString and wraps the result in an X509Name; this method will fail with an IllegalArgumentException if the output of this formatter is not parseable by X509Name (eg.
reformatToString(X500Principal) - Method in class com.peterphi.std.crypto.DNReformatter
Reformats an X500Principal; the result may not be a valid X500Principal, so this method returns a String
reformatToString(X509Name) - Method in class com.peterphi.std.crypto.DNReformatter
Reformats an X509Name; the result may not be a valid X509Name, so this method returns a String
registerConverter(Converter) - Static method in class com.peterphi.std.xstream.XStreamHelper
Registers a Converter with the internal XStream instance
release() - Method in class com.peterphi.std.io.FileHelper.LockRecord
 
remove(KeyPair) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
remove(String) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
remove(String) - Method in class com.peterphi.std.io.PropertyFile
 
remove() - Method in class com.peterphi.std.types.HybridIterator
 
removeAll(Iterable<KeyPair>) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
resample(Timebase) - Method in class com.peterphi.std.types.SampleCount
Resample this sample count to another rate
resample(long, Timebase) - Method in class com.peterphi.std.types.Timebase
Convert a sample count from one timebase to another
Note that this may result in data loss due to rounding.
resample(long, Timebase, boolean) - Method in class com.peterphi.std.types.Timebase
Convert a sample count from one timebase to another
Note that this may result in data loss due to rounding.
resample(double, Timebase) - Method in class com.peterphi.std.types.Timebase
Convert a sample count from one timebase to another
resample(Timebase) - Method in class com.peterphi.std.types.Timecode
Resample this timecode to another timebase
resamplePrecise(long, Timebase) - Method in class com.peterphi.std.types.Timebase
Convert a sample count from one timebase to another, throwing an exception if precision is lost
resamplePrecise(Timebase) - Method in class com.peterphi.std.types.Timecode
Resamples
ResamplingException - Exception in com.peterphi.std.types
Thrown to indicate that it is not possible to represent a timecode or sample count in a precise way
ResamplingException(String, Throwable) - Constructor for exception com.peterphi.std.types.ResamplingException
 
ResamplingException(Throwable) - Constructor for exception com.peterphi.std.types.ResamplingException
 
ResamplingException(String) - Constructor for exception com.peterphi.std.types.ResamplingException
 
ResamplingException() - Constructor for exception com.peterphi.std.types.ResamplingException
 
reset() - Method in class com.peterphi.std.io.CharSequenceReader
Resets the stream to the most recent mark, or to the beginning of the string if it has never been marked.
reset() - Method in class com.peterphi.std.io.StringBuilderReader
Resets the stream to the most recent mark, or to the beginning of the string if it has never been marked.
resolveConflict(String, String, String) - Method in interface com.peterphi.std.io.properties.IMergeConflictResolver
 
resolveFuture(Future<T>) - Method in class com.peterphi.std.threading.Deadline
Resolves a Future, automatically cancelling it in the event of a timeout / failure
resolveFuture(Future<T>, boolean) - Method in class com.peterphi.std.threading.Deadline
Resolves a Future, potentially automatically cancelling it in the event of a timeout / failure
result - Variable in class com.peterphi.std.crypto.digest.impl.NullVerifier
 
right - Variable in class com.peterphi.std.types.Either
 
rootUtility(String...) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command in "utility" mode: redirecting stderr to stdout and running as root
rootUtility(Iterable<String>) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command in "utility" mode: redirecting stderr to stdout and running as root
ROUNDING_MODE - Static variable in enum com.peterphi.std.types.StorageUnit
The rounding mode this class uses; this is, by default, BigDecimal.ROUND_HALF_UP
routeStreamThroughProcess(Process, InputStream, boolean) - Static method in class com.peterphi.std.io.StreamUtil
Given a Process, this function will route the flow of data through it & out again
RSAGenerator - Class in com.peterphi.std.crypto.keygen
 
run(T) - Method in class com.peterphi.std.threading.ParamRunnable
 
run() - Method in class com.peterphi.std.threading.ParamRunnableShell
 
run() - Method in class com.peterphi.std.threading.RunnableCallableFuture
 
runAs(String) - Method in class com.peterphi.std.system.exec.Exec
 
runAsSuperuser() - Method in class com.peterphi.std.system.exec.Exec
 
RunnableCallableFuture<T> - Class in com.peterphi.std.threading
A wrapper type which takes a Callable and turns it into a RunnableFuture
RunnableCallableFuture(Callable<T>) - Constructor for class com.peterphi.std.threading.RunnableCallableFuture
 

S

safeMove(File, File) - Static method in class com.peterphi.std.io.FileHelper
Deprecated.
use commons file utils FileUtils.moveDirectoryToDirectory instead
SampleCount - Class in com.peterphi.std.types
A number of samples at a given sample rate
SampleCount(long, Timebase) - Constructor for class com.peterphi.std.types.SampleCount
 
SANITY_CHECK - Static variable in class com.peterphi.std.types.Id
If true the constructor for Id will verify that all Ids comply with the
save() - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
save(File) - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Saves the Document, as manipulated by this class, as a File
save() - Method in class com.peterphi.std.io.PropertyFile
 
save(File, String) - Method in class com.peterphi.std.io.PropertyFile
 
save(OutputStream) - Method in class com.peterphi.std.io.PropertyFile
 
save(String) - Method in class com.peterphi.std.io.PropertyFile
 
save(String, OutputStream) - Method in class com.peterphi.std.io.PropertyFile
 
save(String, Writer) - Method in class com.peterphi.std.io.PropertyFile
 
saveCertPEM(File) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveCertPEM(Writer) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveHash(File) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
saveJKS(File) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
saveJKS(File) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveJKS(OutputStream) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveKeyPEM(File) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveKeyPEM(Writer) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveP12(File) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
saveP12(File) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveP12(File, char[]) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
saveP12(OutputStream, char[]) - Method in class com.peterphi.std.crypto.keygen.ca.IssuedCertificate
 
savePrivatePEM(File) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
savePublicJKS(File) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
savePublicPEM(File) - Method in class com.peterphi.std.crypto.keygen.ca.CertificateAuthority
 
scanAll() - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
seal() - Method in class com.peterphi.std.crypto.digest.Digests
 
seconds(Timebase, int) - Static method in class com.peterphi.std.types.SampleCount
 
serialise(Node) - Static method in class com.peterphi.std.util.DOMUtils
 
serialise(Node, StreamResult) - Static method in class com.peterphi.std.util.DOMUtils
 
serialise(Node, OutputStream) - Static method in class com.peterphi.std.util.DOMUtils
 
serialise(Node, Writer) - Static method in class com.peterphi.std.util.DOMUtils
 
serialise(Node, File) - Static method in class com.peterphi.std.util.DOMUtils
 
serialise(Object) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
 
serialise(Object, Writer) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
 
serialise(Object, OutputStream) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
 
serialise(Object, File) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
 
serialise(Object, Node) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
 
serialise(Document) - Static method in class com.peterphi.std.util.JDOMUtils
 
serialise(Document, Writer) - Static method in class com.peterphi.std.util.JDOMUtils
 
serialise(Document, OutputStream) - Static method in class com.peterphi.std.util.JDOMUtils
 
serialise(Element) - Static method in class com.peterphi.std.util.JDOMUtils
 
serialise(Element, Writer) - Static method in class com.peterphi.std.util.JDOMUtils
 
serialise(Element, OutputStream) - Static method in class com.peterphi.std.util.JDOMUtils
 
serialise(OutputStream, Object) - Method in class com.peterphi.std.xstream.XSHelper
Serialises an object into an OutputStream
serialise(Writer, Object) - Method in class com.peterphi.std.xstream.XSHelper
Serialises an object into an OutputStream
serialise(File, Object) - Method in class com.peterphi.std.xstream.XSHelper
Serialises an object into an OutputStream
serialise(Object) - Method in class com.peterphi.std.xstream.XSHelper
Serialises an object into a String
serialise(Object) - Static method in class com.peterphi.std.xstream.XStreamHelper
Uses the default XStream instance to serialise an object to a String
serialise(File, Object) - Static method in class com.peterphi.std.xstream.XStreamHelper
Uses the default XStream instance to serialise an object to a File
serialise(OutputStream, Object) - Static method in class com.peterphi.std.xstream.XStreamHelper
Uses the default XStream instance to serialise an object to an OutputStream
serialiseBytes(Node) - Static method in class com.peterphi.std.util.DOMUtils
 
serialiseBytes(Element) - Static method in class com.peterphi.std.util.JDOMUtils
 
serialiseToDocument(Object) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Helper method to serialise an Object to an org.w3c.dom.Document
set(ChmodBit...) - Static method in enum com.peterphi.std.io.ChmodBit
 
set(String, String) - Method in class com.peterphi.std.io.PropertyFile
 
set(String, long) - Method in class com.peterphi.std.io.PropertyFile
 
set(String, int) - Method in class com.peterphi.std.io.PropertyFile
 
set(T) - Method in class com.peterphi.std.threading.SettableFuture
 
setBase64(String, byte[]) - Method in class com.peterphi.std.io.PropertyFile
 
setCacheXstream(boolean) - Static method in class com.peterphi.std.xstream.XStreamHelper
Enables or disables the caching of XStream instances internally When changed any cached xstream instance will be discarded
setContent(int[]) - Method in class com.peterphi.std.types.Version
Deprecated.
DO NOT USE THIS METHOD - FOR BEAN SERIALISER ONLY
setDefaultImplementation(IDigester) - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Set the default implementation for an algorithm; this will be used if no other implementations are registered
setEnv(String, String) - Method in class com.peterphi.std.system.exec.Exec
 
setFile(File) - Method in class com.peterphi.std.crypto.keystore.Keystore
 
setFile(File) - Method in class com.peterphi.std.io.PropertyFile
 
setForceNameValueDelimiterWhitespace(boolean) - Method in class com.peterphi.std.io.PropertyFile
 
setHex(String, byte[]) - Method in class com.peterphi.std.io.PropertyFile
 
setImplementation(IDigester, int) - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Set the implementation, permitted that no other implementations have attempted to register with a higher priority
setImplementation(IDigester) - Method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Set a new implementation
setKeypair(String, KeyPair) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
setMode(int) - Method in class com.peterphi.std.xstream.XSHelper
Sets the current graphing mode, logging its value for use in this class.
Possible values are: XStream.NO_REFERENCES, XStream.XPATH_RELATIVE_REFERENCES, XStream.XPATH_ABSOLUTE_REFERENCES, XStream.ID_REFERENCES
setNoObjectGraph(boolean) - Method in class com.peterphi.std.xstream.XSHelper
 
setNoObjectGraph(boolean) - Static method in class com.peterphi.std.xstream.XStreamHelper
Enables or disabled object graph serialisation (whether the same object is duplicated or linked in the output XML document)
setPassword(String) - Method in class com.peterphi.std.crypto.keystore.Keystore
 
setPrettyOutput(boolean) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Enable/Disable pretty printing
setPrettyPrint(boolean) - Method in class com.peterphi.std.xstream.XSHelper
Enables/Disables pretty printing (indented XML output)
setPrivateKey(String, PrivateKey) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
setPublicKey(String, PublicKey) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
setPublicKey(String, X509Certificate) - Method in class com.peterphi.std.crypto.keystore.DirectoryKeystore
 
setRedirectError(boolean) - Method in class com.peterphi.std.system.exec.Exec
 
setRegisterStandardTypeConverters(boolean) - Static method in class com.peterphi.std.xstream.XStreamHelper
Sets whether the standard type converters (eg.
setSchema(Schema) - Method in class com.peterphi.std.util.jaxb.JAXBSerialiser
Optionally specify the schema to use for all future serialisation/deserialisation methods
SettableFuture<T> - Class in com.peterphi.std.threading
A simple Future whose value will be set at some later date
SettableFuture() - Constructor for class com.peterphi.std.threading.SettableFuture
 
SettableFuture(ParamInvokeable<SettableFuture<T>>, ParamInvokeable<SettableFuture<T>>) - Constructor for class com.peterphi.std.threading.SettableFuture
Create a SettableFuture which will potentially execute tasks upon set and upon cancel; the handlers will hold the exclusive lock on the monitor for the duration of their execution
The handlers, (as they are ParamInvokeables) run synchronously with the call to set or cancel; they run after the effects have taken place and after any interested parties waiting on the monitor have been notified
setType(String) - Method in class com.peterphi.std.crypto.keystore.Keystore
 
setWorkingDirectory(File) - Method in class com.peterphi.std.system.exec.Exec
 
setXs(XSHelper) - Static method in class com.peterphi.std.xstream.XStreamHelper
Sets the internal XStream instance to use (provided caching is enabled)
SHA1 - Static variable in class com.peterphi.std.crypto.digest.DigestHelper
 
sha1(byte[]) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
sha1(String) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
sha1(String, int) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
sha1(File) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
sha1(File, int) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
sha1(InputStream, int) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
SHA1 - Static variable in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
sha1hmac(String, String) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
Performs HMAC-SHA1 on the UTF-8 byte representation of strings
sha1hmac(String, String, int) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
Performs HMAC-SHA1 on the UTF-8 byte representation of strings, returning the hexidecimal hash as a result
sha1hmac(byte[], byte[]) - Static method in class com.peterphi.std.crypto.digest.DigestHelper
 
SHA256 - Static variable in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
SHA512 - Static variable in class com.peterphi.std.crypto.digest.impl.JCEDigester
 
shouldStartAsDaemon() - Method in class com.peterphi.std.threading.Daemon
Overloading this method to return true will start this daemon's thread as a Daemon Thread
sign(String, KeyPair) - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Given a keypair, signs this document and adds the public key to the signature tag
sign(String, PublicKey, PrivateKey) - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Given a pair of keys, signs this document and adds the public key to the signature tag
SimpleId - Class in com.peterphi.std.types
A simple, untyped Id field; this is one step above having a String id
It is recommended that users extend Id themselves rather than using this type (as a SimpleId adds no discernable information about what the id is for)
SimpleId(String) - Constructor for class com.peterphi.std.types.SimpleId
 
SimpleId(UUID) - Constructor for class com.peterphi.std.types.SimpleId
 
size() - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
size(long) - Method in interface com.peterphi.std.io.ICopyProgressMonitor
A method which MAY be called to inform the monitor of the total size
size(T[]) - Static method in class com.peterphi.std.util.ListUtility
 
size(Collection<T>) - Static method in class com.peterphi.std.util.ListUtility
 
skip(long) - Method in class com.peterphi.std.io.CharSequenceReader
Skips the specified number of characters in the stream.
skip(long) - Method in class com.peterphi.std.io.StringBuilderReader
Skips the specified number of characters in the stream.
sleep() - Method in class com.peterphi.std.threading.Deadline
Sleeps the current thread until interrupted or until this deadline has expired.
sleep(boolean) - Method in class com.peterphi.std.threading.Deadline
Sleeps the current thread until this deadline has expired; if mayInterrupt is true then an interrupt will cause this method to return true
This is essentially a neater way of calling Thread.sleep
sleep() - Method in class com.peterphi.std.threading.Timeout
Sleep for the duration of this timeout (or until the thread is interrupted)
smallest(StorageUnit, StorageUnit) - Static method in enum com.peterphi.std.types.StorageUnit
Returns the the most diminutive unit of unit and unit2
smartEquals(File, File, boolean) - Static method in class com.peterphi.std.io.FileHelper
Determines if 2 files or directories are equivalent by looking inside them
soonest(Deadline...) - Static method in class com.peterphi.std.threading.Deadline
Retrieve the deadline with the least time remaining until it expires
spawn(Exec) - Static method in class com.peterphi.std.system.exec.BaseExeced
 
spawn(Exec) - Static method in class com.peterphi.std.system.exec.Execed
 
start() - Method in interface com.peterphi.std.io.ICopyProgressMonitor
 
start() - Method in class com.peterphi.std.system.exec.Exec
Launches the process, returning a handle to it for IO ops, etc.
The finish condition for the OutputProcess is that all processes outputting to standard out must be complete before proceeding
start() - Method in class com.peterphi.std.threading.Timeout
Create a new deadline which is the given period of time in the future
start(Deadline) - Method in class com.peterphi.std.threading.Timeout
Create a new deadline within a given maximum timeframe; this prevents
startBasic() - Method in class com.peterphi.std.system.exec.Exec
Launches the process, returning a handle to it for IO ops, etc
the caller must read the output streams: otherwise the buffers may fill up and the remote program will be suspended indefinitely
startManually() - Method in class com.peterphi.std.system.exec.Exec
Deprecated.
startThread() - Method in class com.peterphi.std.threading.Daemon
Starts this daemon, creating a new thread for it (the name of which will be set to the SimpleName of its class)
startThread(String) - Method in class com.peterphi.std.threading.Daemon
Starts this daemon, creating a new thread for it
stoa(String) - Static method in class com.peterphi.std.net.IpHelper
Parses an IP address, returning it as an InetAddress
This method exists to prevent code which is handling valid IP addresses from having to catch UnknownHostException excessively (when there is often no choice but to totally fail out anyway)
stopAll(List<? extends Daemon>) - Static method in class com.peterphi.std.threading.Daemon
Stop all the daemons in a given list:
stopThread() - Method in class com.peterphi.std.threading.Daemon
Requests the daemon terminate by setting a flag and sending an interrupt to the thread
STORAGE_DECIMAL - Static variable in enum com.peterphi.std.types.StorageUnit
 
StorageSize - Class in com.peterphi.std.types
Note: this class has a natural ordering that is inconsistent with equals.
StorageSize(BigInteger, StorageUnit) - Constructor for class com.peterphi.std.types.StorageSize
Creates a new StorageSize where the value is equal to the provided value
If the unit is in BITS then any fractional bytes resulting from the conversion will be discarded (e.g.
StorageSize(BigDecimal, StorageUnit) - Constructor for class com.peterphi.std.types.StorageSize
Creates a new StorageSize where the value is an approximation of the provided value
Since this is an approximation some information may be lost.
StorageSize(StorageUnit, BigInteger) - Constructor for class com.peterphi.std.types.StorageSize
Internal constructor.
StorageSize(long, StorageUnit) - Constructor for class com.peterphi.std.types.StorageSize
 
StorageUnit - Enum in com.peterphi.std.types
Represents Storage unit conversions in a similar fashion to how TimeUnit represents time unit conversions
This enumeration reflects the confused landscape of storage units: it contains computer science units (binary), storage industry units (decimal) and network industry units (decimal, bit-based)

KILOBYTE as used here is, in fact, according to the ISO a Kibibyte.

STREAM_SLEEP_TIME - Static variable in class com.peterphi.std.io.StreamUtil
 
streamCopy(InputStream, OutputStream) - Static method in class com.peterphi.std.io.StreamUtil
 
streamCopy(InputStream, OutputStream, ICopyProgressMonitor) - Static method in class com.peterphi.std.io.StreamUtil
 
streamCopy(Reader, Writer) - Static method in class com.peterphi.std.io.StreamUtil
 
streamCopy(InputStream, Writer) - Static method in class com.peterphi.std.io.StreamUtil
Copies the contents of an InputStream, using the default encoding, into a Writer
StreamUtil - Class in com.peterphi.std.io
Title: Stream Utility Class
StringBuilderReader - Class in com.peterphi.std.io
A Reader whose source is a StringBuilder.
This is faster than StringReader and CharSequenceReader (and should produce less garbage than CharSequenceReader)
Implementation based on that of StringReader
StringBuilderReader(StringBuilder) - Constructor for class com.peterphi.std.io.StringBuilderReader
 
StringComparableVersionConverter - Class in com.peterphi.std.xstream.serialisers
 
StringComparableVersionConverter() - Constructor for class com.peterphi.std.xstream.serialisers.StringComparableVersionConverter
 
stripSignature() - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Removes the signature tag from this document if they are present
sub() - Method in class com.peterphi.std.io.TabLevel
 
subtract(SampleCount) - Method in class com.peterphi.std.types.SampleCount
 
subtract(StorageSize) - Method in class com.peterphi.std.types.StorageSize
Subtracts a storage size from the current object, using the smallest unit as the resulting StorageSize's unit
subtract(SampleCount) - Method in class com.peterphi.std.types.Timecode
Subtract some samples from this timecode
subtract(SampleCount) - Method in class com.peterphi.std.types.TimecodeRange
Move the range left by the specified number of samples
subtractPrecise(SampleCount) - Method in class com.peterphi.std.types.SampleCount
 
success - Variable in class com.peterphi.std.types.BooleanMessage
 
sum(Timeout...) - Static method in class com.peterphi.std.threading.Timeout
Adds together all the supplied timeouts
symlink(File, File) - Static method in class com.peterphi.std.io.FileHelper
 

T

TabLevel - Class in com.peterphi.std.io
A class for keeping track of indentation levels; allows indentation using spaces or tabs
TabLevel() - Constructor for class com.peterphi.std.io.TabLevel
 
TabLevel(boolean) - Constructor for class com.peterphi.std.io.TabLevel
 
TabLevel(int) - Constructor for class com.peterphi.std.io.TabLevel
 
TabLevel(int, boolean) - Constructor for class com.peterphi.std.io.TabLevel
 
TABSIZE_IN_SPACES - Static variable in class com.peterphi.std.io.TabLevel
If using spaces mode, the number of space characters to use for a single tab (defaults to 4)
tail(List<T>) - Static method in class com.peterphi.std.util.ListUtility
Returns a sublist containing all the items in the list after the first
TEN_SECONDS - Static variable in class com.peterphi.std.threading.Timeout
Ten seconds
THIRTY_SECONDS - Static variable in class com.peterphi.std.threading.Timeout
Thirty seconds
Ticker - Class in com.peterphi.std.util
Keeps track of how long it has been since a given timestamp (by default, when the instance was created)
This is mainly designed for testing timing
Ticker() - Constructor for class com.peterphi.std.util.Ticker
 
Ticker(Date) - Constructor for class com.peterphi.std.util.Ticker
 
Ticker(Calendar) - Constructor for class com.peterphi.std.util.Ticker
 
Ticker(long) - Constructor for class com.peterphi.std.util.Ticker
 
Timebase - Class in com.peterphi.std.types
Describes a timebase, expressed as a rational number.
Timebase(int, int) - Constructor for class com.peterphi.std.types.Timebase
 
Timecode - Class in com.peterphi.std.types
Represents a timecode, dd:hh:mm:ss:ff - where ff may be an arbitrary length
Timecodes containing days are not well supported.
TimecodeBuilder - Class in com.peterphi.std.types
Constructs Timecode instances
TimecodeBuilder() - Constructor for class com.peterphi.std.types.TimecodeBuilder
 
TimecodeComparator - Class in com.peterphi.std.types
Compares Timecodes in order of how much time they represent
This means that 00:00:00:02@25 is greater than 00:00:00:1920@48kHz
TimecodeComparator() - Constructor for class com.peterphi.std.types.TimecodeComparator
 
TimecodeRange - Class in com.peterphi.std.types
Represents a range between two non-null timecodes
TimecodeRange(Timecode, Timecode) - Constructor for class com.peterphi.std.types.TimecodeRange
 
TimecodeRange(Timecode, SampleCount) - Constructor for class com.peterphi.std.types.TimecodeRange
 
Timeout - Class in com.peterphi.std.threading
Represents an immutable Timeout (ie.
Timeout(Duration) - Constructor for class com.peterphi.std.threading.Timeout
 
Timeout(long) - Constructor for class com.peterphi.std.threading.Timeout
Constructs a deadline using a given period of time
Timeout(long, TimeUnit) - Constructor for class com.peterphi.std.threading.Timeout
Constructs a deadline using a given period of time
toBits(BigInteger) - Method in enum com.peterphi.std.types.StorageUnit
 
toBits(BigDecimal) - Method in enum com.peterphi.std.types.StorageUnit
 
toBytes(KeyPair) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
 
toBytes(long) - Method in enum com.peterphi.std.types.StorageUnit
 
toBytes(BigDecimal) - Method in enum com.peterphi.std.types.StorageUnit
 
toBytes(BigInteger) - Method in enum com.peterphi.std.types.StorageUnit
 
toCertificateList(InputStream) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
 
toComparableString() - Method in class com.peterphi.std.types.Version
 
toDuration() - Method in class com.peterphi.std.threading.Timeout
 
toEncodedString() - Method in class com.peterphi.std.types.Timebase
Return the encoded string representation of this Timebase
N.B.
toEncodedString() - Method in class com.peterphi.std.types.Timecode
Returns the timecode in the Encoded Timecode format for this library.
toFfmpegString() - Method in class com.peterphi.std.types.SampleCount
Returns the sample count in FFmpeg's time-based duration format.
toFfmpegString() - Method in class com.peterphi.std.types.Timecode
Returns the timecode in FFmpeg format.
toFile(KeyPair, File) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
 
toFile(PublicKey, File) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
 
toFile(PrivateKey, File) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
 
toHex(byte...) - Static method in class com.peterphi.std.util.HexHelper
Encodes a series of bytes into a hexidecimal string (potentially with leading zeroes) with no separators between each source byte
toHex(char, byte...) - Static method in class com.peterphi.std.util.HexHelper
Encodes a series of bytes into a hexidecimal string with each source byte (represented in the output as a 2 digit hexidecimal pair) separated by separator
toKeyPair(File) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
Takes a PEM-encoded non-password-protected PKCS8 key-containing file and returns the KeyPair within.
toKeyPair(File, char[]) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
Takes a PEM-encoded PKCS8 key-containing file and returns the KeyPair within.
toKeyPair(byte[]) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
Takes a PEM-encoded non-password-protected PKCS8 key-containing Reader and returns the KeyPair within.
toKeyPair(InputStream) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
Takes a PEM-encoded non-password-protected PKCS8 key-containing InputStream and returns the KeyPair within.
toKeyPair(InputStream, char[]) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
Takes a PEM-encoded PKCS8 key-containing InputStream and returns the KeyPair within.
toOffset(Timecode) - Method in class com.peterphi.std.types.TimecodeRange
Constructs a new TimecodeRange where the values are expressed as offsets from reference.
toPlainString() - Method in class com.peterphi.std.types.StorageSize
Return a String version of this size (e.g.
toPlainString(StorageUnit) - Method in class com.peterphi.std.types.StorageSize
Return a String version of this size (e.g.
toProperties() - Method in class com.peterphi.std.io.PropertyFile
Converts the name/value pairs stored in this PropertyFile to the Java Properties propertyfile type
toRootFirst(List<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
Take a chain and return a (Read-only) chain with the root certificate as the first entry
toRootLast(List<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
Take a chain and return a (Read-only) chain with the root certificate as the last entry
toShortString() - Method in class com.peterphi.std.types.StorageSize
Return a short ISO String version of this size (e.g.
toShortString(StorageUnit) - Method in class com.peterphi.std.types.StorageSize
Return a short ISO String version of this size using the provided unit (e.g.
toSMPTEString() - Method in class com.peterphi.std.types.Timecode
Return a SMPTE string of the format, dropping the days component.
toSMPTEString(boolean) - Method in class com.peterphi.std.types.Timecode
Return a SMPTE-style string of the format [-][dd:]hh:mm:ss:ff (or [-][dd:]hh:mm:ss;ff for drop-frame timecode)
toStream(KeyPair, OutputStream) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
 
toString() - Method in class com.peterphi.std.crypto.keystore.Keystore
 
toString() - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Produces an XML String representation of the document
toString(boolean, Set<ChmodBit>) - Static method in enum com.peterphi.std.io.ChmodBit
 
toString(Set<ChmodBit>, Set<ChmodBit>) - Static method in enum com.peterphi.std.io.ChmodBit
 
toString() - Method in class com.peterphi.std.io.TabLevel
 
toString() - Method in class com.peterphi.std.threading.Deadline
 
toString() - Method in class com.peterphi.std.threading.RunnableCallableFuture
 
toString() - Method in class com.peterphi.std.threading.Timeout
 
toString() - Method in class com.peterphi.std.types.BooleanMessage
 
toString() - Method in class com.peterphi.std.types.Both
 
toString() - Method in class com.peterphi.std.types.Either
 
toString() - Method in class com.peterphi.std.types.Id
 
toString() - Method in class com.peterphi.std.types.InetSubnet
Emits this subnet in CIDR notation using the prefix (eg.
toString() - Method in class com.peterphi.std.types.SampleCount
Encode the SampleCount as samples@[str_timebase|nom[:denom]] (e.g.
toString() - Method in class com.peterphi.std.types.StorageSize
 
toString(long) - Method in enum com.peterphi.std.types.StorageUnit
 
toString(BigInteger) - Method in enum com.peterphi.std.types.StorageUnit
 
toString(BigDecimal) - Method in enum com.peterphi.std.types.StorageUnit
 
toString(long, boolean) - Method in enum com.peterphi.std.types.StorageUnit
 
toString(BigInteger, boolean) - Method in enum com.peterphi.std.types.StorageUnit
 
toString(BigDecimal, boolean) - Method in enum com.peterphi.std.types.StorageUnit
 
toString() - Method in class com.peterphi.std.types.Timebase
 
toString() - Method in class com.peterphi.std.types.Timecode
Returns the timecode as a String, formatted as either: hh:mm:ss:ff for non-dropframe timecode (where ff is of arbitrary length) hh:mm:ss;ff for dropframe timecode (where ff is of arbitrary length)
toString() - Method in class com.peterphi.std.types.TimecodeBuilder
 
toString() - Method in class com.peterphi.std.types.TimecodeRange
 
toString() - Method in class com.peterphi.std.types.Version
 
toString() - Method in class com.peterphi.std.util.Ticker
 
toString(Object) - Method in class com.peterphi.std.xstream.serialisers.Inet4AddressConverter
 
toString(Object) - Method in class com.peterphi.std.xstream.serialisers.Inet6AddressConverter
 
toString(Object) - Method in class com.peterphi.std.xstream.serialisers.InetAddressConverter
 
toString(Object) - Method in class com.peterphi.std.xstream.serialisers.MultiOSFileConverter
 
toString(Object) - Method in class com.peterphi.std.xstream.serialisers.StringComparableVersionConverter
 
toString(Object) - Method in class com.peterphi.std.xstream.serialisers.URIConverter
 
touch(File) - Static method in class com.peterphi.std.io.FileHelper
Creates/updates a file with the modify date set to now
toVidispineString() - Method in class com.peterphi.std.types.SampleCount
Deprecated.
toVidispineString() - Method in class com.peterphi.std.types.Timecode
Deprecated.
use getSampleCount().toEncodedString();
toWriter(KeyPair, Writer) - Static method in class com.peterphi.std.crypto.keystore.PKCS8Util
 
TRUE - Static variable in class com.peterphi.std.types.BooleanMessage
 
trySymlink(File, File) - Static method in class com.peterphi.std.io.FileHelper
 
type - Variable in class com.peterphi.std.crypto.keystore.Keystore
 
typeOf(XStream, String) - Static method in class com.peterphi.std.xstream.XStreamHelper
Helper method to allow easy testing of the type of a serialised type.

U

unexpectedFailure(IOException) - Method in class com.peterphi.std.system.exec.BaseExeced
 
union(Collection<? extends T>...) - Static method in class com.peterphi.std.util.ListUtility
Concatenates a number of Collections into a single Set
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - Method in class com.peterphi.std.xstream.serialisers.MapStringStringConverter
 
URIConverter - Class in com.peterphi.std.xstream.serialisers
Title: URI Serialiser
URIConverter() - Constructor for class com.peterphi.std.xstream.serialisers.URIConverter
 
URL_SAFE - Static variable in class com.peterphi.std.util.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
USE_GENERIC_TEMP_DIRECTORY - Static variable in class com.peterphi.std.crypto.openssl.OpenSSLPKCS12
 
useAttributeFor(Class<? extends Object>, String) - Static method in class com.peterphi.std.xstream.XStreamHelper
 
utility(String...) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)
utility(Iterable<String>) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)
utilityAs(String, String...) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)
utilityAs(String, Iterable<String>) - Static method in class com.peterphi.std.system.exec.Exec
Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)

V

validate(Keystore) - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Validates the document using the public keys of the Certificates in truststore
validate(PublicKey...) - Method in class com.peterphi.std.crypto.signing.XMLDocumentSigner
Validates the signature tag on the document
value - Variable in class com.peterphi.std.io.PropertyFile.NameValuePair
 
valueOf(String) - Static method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.peterphi.std.crypto.digest.impl.AbstractDigester.DigestEncoding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.peterphi.std.io.ActionOnConflict
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.peterphi.std.io.ChmodBit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.peterphi.std.net.IPProtocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.peterphi.std.types.SampleCount
Parse a sample count & timebase as samples@[str_timebase|nom[:denom]] N.B.
valueOf(String) - Static method in enum com.peterphi.std.types.StorageUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.peterphi.std.types.Timecode
Parse a Timecode encoded in the encoded style for this library ([-][dd:]hh:mm:ss:ff@timebase).
values() - Static method in enum com.peterphi.std.crypto.digest.DigestAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.peterphi.std.crypto.digest.impl.AbstractDigester.DigestEncoding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.peterphi.std.io.ActionOnConflict
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.peterphi.std.io.ChmodBit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.peterphi.std.net.IPProtocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.peterphi.std.types.StorageUnit
Returns an array containing the constants of this enum type, in the order they are declared.
vars - Variable in class com.peterphi.std.io.PropertyFile
 
verify(String) - Method in class com.peterphi.std.auth.yubikey.YubicoClient
 
verify(byte[]) - Method in class com.peterphi.std.crypto.digest.Digests
 
verify(File) - Method in class com.peterphi.std.crypto.digest.Digests
 
verify(InputStream) - Method in class com.peterphi.std.crypto.digest.Digests
 
verify(ByteChannel) - Method in class com.peterphi.std.crypto.digest.Digests
 
verify(byte[]) - Method in interface com.peterphi.std.crypto.digest.IDigestVerifier
 
verify(File) - Method in interface com.peterphi.std.crypto.digest.IDigestVerifier
 
verify(InputStream) - Method in interface com.peterphi.std.crypto.digest.IDigestVerifier
 
verify(ByteChannel) - Method in interface com.peterphi.std.crypto.digest.IDigestVerifier
 
verify(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.DigestVerifier
 
verify(File) - Method in class com.peterphi.std.crypto.digest.impl.DigestVerifier
 
verify(InputStream) - Method in class com.peterphi.std.crypto.digest.impl.DigestVerifier
 
verify(ByteChannel) - Method in class com.peterphi.std.crypto.digest.impl.DigestVerifier
 
verify(byte[]) - Method in class com.peterphi.std.crypto.digest.impl.NullVerifier
 
verify(File) - Method in class com.peterphi.std.crypto.digest.impl.NullVerifier
 
verify(InputStream) - Method in class com.peterphi.std.crypto.digest.impl.NullVerifier
 
verify(ByteChannel) - Method in class com.peterphi.std.crypto.digest.impl.NullVerifier
 
verifyChain(List<X509Certificate>) - Static method in class com.peterphi.std.crypto.CertificateChainUtil
Verifies that a certificate chain is valid
Version - Class in com.peterphi.std.types
Title: Version
Version(String) - Constructor for class com.peterphi.std.types.Version
Constructs a new version.
Version(int...) - Constructor for class com.peterphi.std.types.Version
 
Version() - Constructor for class com.peterphi.std.types.Version
Deprecated.
DO NOT USE THIS METHOD - FOR BEAN SERIALISER ONLY. CREATES INVALID VERSIONS

W

waitFor(Object, boolean) - Method in class com.peterphi.std.threading.Deadline
Waits on the listed monitor until it returns or until this deadline has expired; if mayInterrupt is true then an interrupt will cause this method to return true
waitForExit(int) - Method in class com.peterphi.std.system.exec.BaseExeced
Wait an indefinite amount of time for the process to exit, expecting the return code to be expected.
waitForExit(Deadline, int) - Method in class com.peterphi.std.system.exec.BaseExeced
Wait until deadline for the process to exit, expecting the return code to be expected.
waitForExit() - Method in class com.peterphi.std.system.exec.BaseExeced
Wait an indefinite amount of time for the process to exit
waitForExit(Deadline) - Method in class com.peterphi.std.system.exec.BaseExeced
Waits for the process to exit; this method blocks until the process has completed (at which point it returns the process exit code) or until deadline has elapsed, at which point it returns Integer.MIN_VALUE
waitForTermination(Daemon, long) - Static method in class com.peterphi.std.threading.Daemon
 
waitForTermination(List<? extends Daemon>, long) - Static method in class com.peterphi.std.threading.Daemon
 
WATCH - Static variable in class com.peterphi.std.util.Logging
 
withDays(long) - Method in class com.peterphi.std.types.TimecodeBuilder
 
withDropFrame(boolean) - Method in class com.peterphi.std.types.TimecodeBuilder
 
withFrames(long) - Method in class com.peterphi.std.types.TimecodeBuilder
 
withHours(long) - Method in class com.peterphi.std.types.TimecodeBuilder
 
within(Timecode) - Method in class com.peterphi.std.types.TimecodeRange
Tests whether a timecode lies within (or on the boundaries of) this range
within(TimecodeRange) - Method in class com.peterphi.std.types.TimecodeRange
Test whether a given timecode range lies wholly within (or on the boundaries of) this range
within(Version, Version) - Method in class com.peterphi.std.types.Version
Tests (inclusively) whether this version is within a given range
withMinutes(long) - Method in class com.peterphi.std.types.TimecodeBuilder
 
withNegative(boolean) - Method in class com.peterphi.std.types.TimecodeBuilder
 
withRate(Timebase) - Method in class com.peterphi.std.types.TimecodeBuilder
 
withSeconds(long) - Method in class com.peterphi.std.types.TimecodeBuilder
 
withTimecode(Timecode) - Method in class com.peterphi.std.types.TimecodeBuilder
Reset this builder to the values in the provided Timecode
write(File, String) - Static method in class com.peterphi.std.io.FileHelper
 
write(File, StringBuilder) - Static method in class com.peterphi.std.io.FileHelper
 
write(File, Reader) - Static method in class com.peterphi.std.io.FileHelper
 
write(int) - Method in class com.peterphi.std.io.NullOutputStream
 
write(byte[]) - Method in class com.peterphi.std.io.NullOutputStream
 
write(byte[], int, int) - Method in class com.peterphi.std.io.NullOutputStream
 
writeFile(String, KeyPair) - Method in class com.peterphi.std.crypto.keystore.FingerprintKeyStorage
 
writePID(File, long) - Static method in class com.peterphi.std.io.FileHelper
 
writePID(File, String) - Static method in class com.peterphi.std.io.FileHelper
 
writeToSystem(boolean) - Method in class com.peterphi.std.crypto.keystore.Keystore
 

X

XMLDocumentSigner - Class in com.peterphi.std.crypto.signing
An XML Document signing class
XMLDocumentSigner(String) - Constructor for class com.peterphi.std.crypto.signing.XMLDocumentSigner
Creates a new XML Document Signer, using an XML document represented by the given String.
XMLDocumentSigner(File) - Constructor for class com.peterphi.std.crypto.signing.XMLDocumentSigner
Creates a new XML Document Signer, using the contents of a File as the XML Document
XMLDocumentSigner(Document) - Constructor for class com.peterphi.std.crypto.signing.XMLDocumentSigner
Creates a new XML Document Signer out of a given Document; the caller guarantees the Document can handle namespaces
XSHelper - Class in com.peterphi.std.xstream
A light abstraction layer over XStream, allowing the user to ignore some implementation-specific aspects
XStreamHelper - Class in com.peterphi.std.xstream
Title: XStream Helper Class

Y

YubicoClient - Class in com.peterphi.std.auth.yubikey
Your app instantiate an object of this class, then call verify(OTP) to validate the one-time password (OTP) generated by Yubikey
YubicoClient() - Constructor for class com.peterphi.std.auth.yubikey.YubicoClient
Initializes the Yubico object.
YubicoClient(int) - Constructor for class com.peterphi.std.auth.yubikey.YubicoClient
Initializes the Yubico object.

Z

ZERO - Static variable in class com.peterphi.std.threading.Timeout
A zero-length timeout
ZERO - Static variable in class com.peterphi.std.types.StorageSize
 

_

_clear() - Method in class com.peterphi.std.io.PropertyFile
 
_contains(String) - Method in class com.peterphi.std.io.PropertyFile
 
_get(String, String) - Method in class com.peterphi.std.io.PropertyFile
 
_get_core(String, String) - Method in class com.peterphi.std.io.PropertyFile
 
_rm(String) - Method in class com.peterphi.std.io.PropertyFile
 
_set(String, String) - Method in class com.peterphi.std.io.PropertyFile
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 

Copyright © 2014. All Rights Reserved.