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

A

add(KOption) - Method in class org.apache.kerby.KOptions
 
add(KOption, Object) - Method in class org.apache.kerby.KOptions
 
addr - Variable in class org.apache.kerby.util.HostPort
 

B

Base64 - Class in org.apache.kerby.util
Provides Base64 encoding and decoding as defined by RFC 2045.
Base64() - Constructor for class org.apache.kerby.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(boolean) - Constructor for class org.apache.kerby.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in the given URL-safe mode.
Base64(int) - Constructor for class org.apache.kerby.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(int, byte[]) - Constructor for class org.apache.kerby.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(int, byte[], boolean) - Constructor for class org.apache.kerby.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64InputStream - Class in org.apache.kerby.util
Provides Base64 encoding and decoding in a streaming fashion (unlimited size).
Base64InputStream(InputStream) - Constructor for class org.apache.kerby.util.Base64InputStream
Creates a Base64InputStream such that all data read is Base64-decoded from the original provided InputStream.
Base64InputStream(InputStream, boolean) - Constructor for class org.apache.kerby.util.Base64InputStream
Creates a Base64InputStream such that all data read is either Base64-encoded or Base64-decoded from the original provided InputStream.
Base64InputStream(InputStream, boolean, int, byte[]) - Constructor for class org.apache.kerby.util.Base64InputStream
Creates a Base64InputStream such that all data read is either Base64-encoded or Base64-decoded from the original provided InputStream.
Base64OutputStream - Class in org.apache.kerby.util
Provides Base64 encoding and decoding in a streaming fashion (unlimited size).
Base64OutputStream(OutputStream) - Constructor for class org.apache.kerby.util.Base64OutputStream
Creates a Base64OutputStream such that all data written is Base64-encoded to the original provided OutputStream.
Base64OutputStream(OutputStream, boolean) - Constructor for class org.apache.kerby.util.Base64OutputStream
Creates a Base64OutputStream such that all data written is either Base64-encoded or Base64-decoded to the original provided OutputStream.
Base64OutputStream(OutputStream, boolean, int, byte[]) - Constructor for class org.apache.kerby.util.Base64OutputStream
Creates a Base64OutputStream such that all data written is either Base64-encoded or Base64-decoded to the original provided OutputStream.
ByteArrayReadLine - Class in org.apache.kerby.util
 
ByteArrayReadLine(ByteArrayInputStream) - Constructor for class org.apache.kerby.util.ByteArrayReadLine
 
bytesToHex(byte[]) - Static method in class org.apache.kerby.util.HexUtil
Convert bytes into format as: 02020080
bytesToHexFriendly(byte[]) - Static method in class org.apache.kerby.util.HexUtil
Convert bytes into friendly format as: 0x02 02 00 80

C

cipherToAuthType(String) - Static method in class org.apache.kerby.util.Util
 
close() - Method in class org.apache.kerby.util.Base64OutputStream
Closes this output stream and releases any system resources associated with the stream.
contains(KOption) - Method in class org.apache.kerby.KOptions
 
CryptoUtil - Class in org.apache.kerby.util
Crypto related utilities.
CryptoUtil() - Constructor for class org.apache.kerby.util.CryptoUtil
 

D

decode(Object) - Method in class org.apache.kerby.util.Base64
Decodes an Object using the base64 algorithm.
decode(String) - Method in class org.apache.kerby.util.Base64
Decodes a String containing containing characters in the Base64 alphabet.
decode(byte[]) - Method in class org.apache.kerby.util.Base64
Decodes a byte[] containing containing characters in the Base64 alphabet.
decode(String) - Static method in class org.apache.kerby.util.Hex
 
decode(byte[]) - Static method in class org.apache.kerby.util.Hex
 
decodeBase64(String) - Static method in class org.apache.kerby.util.Base64
Decodes a Base64 String into octets
decodeBase64(byte[]) - Static method in class org.apache.kerby.util.Base64
Decodes Base64 data into octets
decodeInteger(byte[]) - Static method in class org.apache.kerby.util.Base64
Decodes a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
derivePublicKey(PrivateKey) - Static method in class org.apache.kerby.util.PublicKeyDeriver
Utility method for deriving a public key from a given private key.

E

encode(Object) - Method in class org.apache.kerby.util.Base64
Encodes an Object using the base64 algorithm.
encode(byte[]) - Method in class org.apache.kerby.util.Base64
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
encode(byte[]) - Static method in class org.apache.kerby.util.Hex
 
encode(byte[], int, int) - Static method in class org.apache.kerby.util.Hex
 
encodeBase64(byte[]) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using the base64 algorithm but does not chunk the output.
encodeBase64(byte[], boolean) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
encodeBase64(byte[], boolean, boolean) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
encodeBase64(byte[], boolean, boolean, int) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
encodeBase64Chunked(byte[]) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
encodeBase64String(byte[]) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF.
encodeBase64URLSafe(byte[]) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
encodeBase64URLSafeString(byte[]) - Static method in class org.apache.kerby.util.Base64
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
encodeInteger(BigInteger) - Static method in class org.apache.kerby.util.Base64
Encodes to a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
encodeToString(byte[]) - Method in class org.apache.kerby.util.Base64
Encodes a byte[] containing binary data, into a String containing characters in the Base64 alphabet.
equals(KeyStore, KeyStore) - Static method in class org.apache.kerby.util.Util
True if the Keystores have the same # of entries, have the same set of aliases, and all the certificate-chains (of the certificate entries) match.

F

fileToBytes(File) - Static method in class org.apache.kerby.util.Util
 
fill(byte[], int, InputStream) - Static method in class org.apache.kerby.util.Util
 
fill(byte[], int, ByteArrayInputStream) - Static method in class org.apache.kerby.util.Util
 
flush() - Method in class org.apache.kerby.util.Base64OutputStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.

G

getBooleanOption(KOption, Boolean) - Method in class org.apache.kerby.KOptions
 
getDateOption(KOption) - Method in class org.apache.kerby.KOptions
 
getDescription() - Method in class org.apache.kerby.KOptionInfo
Get description.
getDirOption(KOption) - Method in class org.apache.kerby.KOptions
 
getFileOption(KOption) - Method in class org.apache.kerby.KOptions
 
getGroup() - Method in class org.apache.kerby.KOptionInfo
Get group.
getGroupName() - Method in interface org.apache.kerby.KOptionGroup
Get group name.
getIntegerOption(KOption) - Method in class org.apache.kerby.KOptions
 
getName() - Method in class org.apache.kerby.KOptionInfo
Get name.
getOption(KOption) - Method in class org.apache.kerby.KOptions
 
getOptionInfo() - Method in interface org.apache.kerby.KOption
 
getOptions() - Method in class org.apache.kerby.KOptions
 
getOptionValue(KOption) - Method in class org.apache.kerby.KOptions
 
getServerPort() - Static method in class org.apache.kerby.util.NetworkUtil
Get a server socket point for server, either TCP or UDP.
getStringOption(KOption) - Method in class org.apache.kerby.KOptions
 
getTempDir() - Static method in class org.apache.kerby.util.SysUtil
 
getType() - Method in class org.apache.kerby.KOptionInfo
Get koption type.
getValue() - Method in class org.apache.kerby.KOptionInfo
Get value.

H

Hex - Class in org.apache.kerby.util
Utility class for dealing with hex-encoding of binary data.
Hex() - Constructor for class org.apache.kerby.util.Hex
 
hex2bytes(String) - Static method in class org.apache.kerby.util.HexUtil
Convert hex string like follows into byte array 02020080
hex2bytesFriendly(String) - Static method in class org.apache.kerby.util.HexUtil
Convert friendly hex string like follows into byte array 0x02 02 00 80
HexUtil - Class in org.apache.kerby.util
 
host - Variable in class org.apache.kerby.util.HostPort
 
HostPort - Class in org.apache.kerby.util
 
HostPort(String, int) - Constructor for class org.apache.kerby.util.HostPort
 

I

IBM_JAVA - Static variable in class org.apache.kerby.util.SysUtil
A public static variable to indicate the current java vendor is IBM and the type is Java Technology Edition which provides its own implementations of many security packages and Cipher suites.
IOUtil - Class in org.apache.kerby.util
Some IO and file related utilities.
IPAddressParser - Class in org.apache.kerby.util
Parses String representations of IPv4 and IPv6 addresses, and converts them to byte[].
IPAddressParser() - Constructor for class org.apache.kerby.util.IPAddressParser
 
isAES256Enabled() - Static method in class org.apache.kerby.util.CryptoUtil
 
isArrayByteBase64(byte[]) - Static method in class org.apache.kerby.util.Base64
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
isBase64(byte) - Static method in class org.apache.kerby.util.Base64
Returns whether or not the octet is in the base 64 alphabet.
isMac() - Static method in class org.apache.kerby.util.OSUtil
 
isSolaris() - Static method in class org.apache.kerby.util.OSUtil
 
isUnix() - Static method in class org.apache.kerby.util.OSUtil
 
isUrlSafe() - Method in class org.apache.kerby.util.Base64
Returns our current encode mode.
isWhiteSpace(char) - Static method in class org.apache.kerby.util.Util
 
isWindows() - Static method in class org.apache.kerby.util.OSUtil
 
isYes(String) - Static method in class org.apache.kerby.util.Util
 

K

KOption - Interface in org.apache.kerby
 
KOptionGroup - Interface in org.apache.kerby
Option group.
KOptionInfo - Class in org.apache.kerby
 
KOptionInfo(String, String) - Constructor for class org.apache.kerby.KOptionInfo
 
KOptionInfo(String, String, KOptionType) - Constructor for class org.apache.kerby.KOptionInfo
 
KOptionInfo(String, String, KOptionGroup) - Constructor for class org.apache.kerby.KOptionInfo
 
KOptionInfo(String, String, KOptionGroup, KOptionType) - Constructor for class org.apache.kerby.KOptionInfo
 
KOptions - Class in org.apache.kerby
A KOption container.
KOptions() - Constructor for class org.apache.kerby.KOptions
 
KOptionType - Enum in org.apache.kerby
Option type.

L

LAST_READ_KEY - Static variable in class org.apache.kerby.util.Util
 

M

main(String[]) - Static method in class org.apache.kerby.util.OSUtil
 
main(String[]) - Static method in class org.apache.kerby.util.Util
 
markSupported() - Method in class org.apache.kerby.util.Base64InputStream

N

NetworkUtil - Class in org.apache.kerby.util
Some network related utilities.
next() - Method in class org.apache.kerby.util.ByteArrayReadLine
 
next(int) - Method in class org.apache.kerby.util.ByteArrayReadLine
 
next() - Method in class org.apache.kerby.util.ReadLine
 
next(int) - Method in class org.apache.kerby.util.ReadLine
 
nextAsBytes() - Method in class org.apache.kerby.util.ByteArrayReadLine
 
nextAsBytes(int) - Method in class org.apache.kerby.util.ByteArrayReadLine
 
nextAsBytes() - Method in class org.apache.kerby.util.ReadLine
 
nextAsBytes(int) - Method in class org.apache.kerby.util.ReadLine
 

O

org.apache.kerby - package org.apache.kerby
 
org.apache.kerby.util - package org.apache.kerby.util
 
OSUtil - Class in org.apache.kerby.util
An OS related utility, mainly detecting what's the platform it's rnning on.

P

pad(String, int, boolean) - Static method in class org.apache.kerby.util.Util
 
parseDuration(String) - Static method in class org.apache.kerby.KOptions
 
parseIPv4Literal(String) - Static method in class org.apache.kerby.util.IPAddressParser
Converts the supplied IPv4 literal to byte[], or null if the IPv4 address was invalid.
parseIPv6Literal(String) - Static method in class org.apache.kerby.util.IPAddressParser
Converts the supplied IPv6 literal to byte[], or null if the IPv6 address was invalid.
parseSetValue(KOptionInfo, String) - Static method in class org.apache.kerby.KOptions
Parse string value according to kopt type.
pipeStream(InputStream, OutputStream) - Static method in class org.apache.kerby.util.Util
 
pipeStream(InputStream, OutputStream, boolean) - Static method in class org.apache.kerby.util.Util
 
port - Variable in class org.apache.kerby.util.HostPort
 
PublicKeyDeriver - Class in org.apache.kerby.util
Utility class for deriving a public key from a given private key.
PublicKeyDeriver() - Constructor for class org.apache.kerby.util.PublicKeyDeriver
 

R

read() - Method in class org.apache.kerby.util.Base64InputStream
Reads one byte from this input stream.
read(byte[], int, int) - Method in class org.apache.kerby.util.Base64InputStream
Attempts to read len bytes into the specified b array starting at offset from this InputStream.
readFile(File) - Static method in class org.apache.kerby.util.IOUtil
Read a file and return the content as string assuming UTF8.
readInput(InputStream) - Static method in class org.apache.kerby.util.IOUtil
Read an input stream and return the content as string assuming UTF8.
readInputStream(InputStream) - Static method in class org.apache.kerby.util.IOUtil
 
readInputStream(InputStream, byte[]) - Static method in class org.apache.kerby.util.IOUtil
 
ReadLine - Class in org.apache.kerby.util
 
ReadLine(InputStream) - Constructor for class org.apache.kerby.util.ReadLine
 
resizeArray(byte[]) - Static method in class org.apache.kerby.util.Util
 

S

setDescription(String) - Method in class org.apache.kerby.KOptionInfo
Set description.
setGroup(KOptionGroup) - Method in class org.apache.kerby.KOptionInfo
Set group.
setName(String) - Method in class org.apache.kerby.KOptionInfo
Set name.
setType(KOptionType) - Method in class org.apache.kerby.KOptionInfo
Set koption type.
setValue(Object) - Method in class org.apache.kerby.KOptionInfo
Set value.
SIZE_KEY - Static variable in class org.apache.kerby.util.Util
 
streamToBytes(ByteArrayInputStream, int) - Static method in class org.apache.kerby.util.Util
 
streamToBytes(InputStream, int) - Static method in class org.apache.kerby.util.Util
 
streamToBytes(InputStream) - Static method in class org.apache.kerby.util.Util
 
streamToBytes(ByteArrayInputStream) - Static method in class org.apache.kerby.util.Util
 
SysUtil - Class in org.apache.kerby.util
A system related utility.

T

toAddress(String, int) - Static method in class org.apache.kerby.util.Util
 
toBytes(String) - Static method in class org.apache.kerby.util.Utf8
 
toInetAddress(String) - Static method in class org.apache.kerby.util.Util
Utility method to make sure IP-literals don't trigger reverse-DNS lookups.
toString() - Method in class org.apache.kerby.util.HostPort
 
toString(byte[]) - Static method in class org.apache.kerby.util.Utf8
 
trim(String) - Static method in class org.apache.kerby.util.Util
 

U

Utf8 - Class in org.apache.kerby.util
 
Util - Class in org.apache.kerby.util
 
Util() - Constructor for class org.apache.kerby.util.Util
 

V

valueOf(String) - Static method in enum org.apache.kerby.KOptionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.kerby.KOptionType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(int) - Method in class org.apache.kerby.util.Base64OutputStream
Writes the specified byte to this output stream.
write(byte[], int, int) - Method in class org.apache.kerby.util.Base64OutputStream
Writes len bytes from the specified b array starting at offset to this output stream.
writeFile(String, File) - Static method in class org.apache.kerby.util.IOUtil
Write a file with the content assuming UTF8.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.