Skip navigation links
Picketbox Commons 1.0.0.final
B C D E F G I M N O P R S W 

B

Base64 - Class in org.picketbox.commons.cipher
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.picketbox.commons.cipher
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream - Class in org.picketbox.commons.cipher
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.

C

close() - Method in class org.picketbox.commons.cipher.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.

D

DECODE - Static variable in class org.picketbox.commons.cipher.Base64
Specify decoding.
decode(byte[], int, int) - Static method in class org.picketbox.commons.cipher.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.picketbox.commons.cipher.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(byte[], String, SecretKey, PBEParameterSpec) - Static method in class org.picketbox.commons.cipher.PBEUtils
 
decode64(String, String, SecretKey, PBEParameterSpec) - Static method in class org.picketbox.commons.cipher.PBEUtils
 
decodeFromFile(String) - Static method in class org.picketbox.commons.cipher.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.picketbox.commons.cipher.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.picketbox.commons.cipher.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
doit(String, String, char[]) - Method in class org.picketbox.commons.ssl.ExportPrivateKey
 
DONT_BREAK_LINES - Static variable in class org.picketbox.commons.cipher.Base64
Don't break lines when encoding (violates strict Base64 specification)

E

ENCODE - Static variable in class org.picketbox.commons.cipher.Base64
Specify encoding.
encode(byte[], String, SecretKey, PBEParameterSpec) - Static method in class org.picketbox.commons.cipher.PBEUtils
 
encode64(byte[], String, SecretKey, PBEParameterSpec) - Static method in class org.picketbox.commons.cipher.PBEUtils
 
encodeBytes(byte[]) - Static method in class org.picketbox.commons.cipher.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.picketbox.commons.cipher.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.picketbox.commons.cipher.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.picketbox.commons.cipher.Base64
Encodes a byte array into Base64 notation.
encodeFromFile(String) - Static method in class org.picketbox.commons.cipher.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.picketbox.commons.cipher.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.picketbox.commons.cipher.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.picketbox.commons.cipher.Base64
Convenience method for encoding data to a file.
ExportPrivateKey - Class in org.picketbox.commons.ssl
Exports the private key of a certificate.
ExportPrivateKey() - Constructor for class org.picketbox.commons.ssl.ExportPrivateKey
 

F

flushBase64() - Method in class org.picketbox.commons.cipher.Base64.OutputStream
Method added by PHIL.

G

getPrivateKey(KeyStore, String, char[]) - Method in class org.picketbox.commons.ssl.ExportPrivateKey
 
GZIP - Static variable in class org.picketbox.commons.cipher.Base64
Specify that data should be gzip-compressed.

I

InputStream(InputStream) - Constructor for class org.picketbox.commons.cipher.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
InputStream(InputStream, int) - Constructor for class org.picketbox.commons.cipher.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.

M

main(String[]) - Static method in class org.picketbox.commons.cipher.PBEUtils
 
main(String[]) - Static method in class org.picketbox.commons.ssl.ExportPrivateKey
 
main(String[]) - Static method in class org.picketbox.commons.ssl.RetrieveCertificate
 

N

NO_OPTIONS - Static variable in class org.picketbox.commons.cipher.Base64
No options specified.

O

org.picketbox.commons.cipher - package org.picketbox.commons.cipher
 
org.picketbox.commons.ssl - package org.picketbox.commons.ssl
 
OutputStream(OutputStream) - Constructor for class org.picketbox.commons.cipher.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
OutputStream(OutputStream, int) - Constructor for class org.picketbox.commons.cipher.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

P

PBEUtils - Class in org.picketbox.commons.cipher
Utility dealing with Password Based Encryption
PBEUtils() - Constructor for class org.picketbox.commons.cipher.PBEUtils
 

R

read() - Method in class org.picketbox.commons.cipher.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class org.picketbox.commons.cipher.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
resumeEncoding() - Method in class org.picketbox.commons.cipher.Base64.OutputStream
Resumes encoding of the stream.
RetrieveCertificate - Class in org.picketbox.commons.ssl
RetrieveCertificate connects to a host and retrieves the certificate chain if it is not already trusted by JDK's default truststore.
RetrieveCertificate() - Constructor for class org.picketbox.commons.ssl.RetrieveCertificate
 

S

suspendEncoding() - Method in class org.picketbox.commons.cipher.Base64.OutputStream
Suspends encoding of the stream.

W

write(int) - Method in class org.picketbox.commons.cipher.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.picketbox.commons.cipher.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
B C D E F G I M N O P R S W 
Skip navigation links
Picketbox Commons 1.0.0.final

Copyright © 2022 JBoss Inc.. All rights reserved.