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

A

addOrgUnitName(String) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
AsymmetricCipher - Enum in org.symphonyoss.s2.common.crypto.cipher
 

B

build() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 

C

CertificateBuilder - Class in org.symphonyoss.s2.common.crypto.cert
A builder for certificates.
CertificateBuilder(IIntermediateCertificate) - Constructor for class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
Create a CertificateBuilder for the given certificate signing certificate.
CertificateBuilder(IIntermediateCertificate, CertificateBuilder) - Constructor for class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
Create a CertificateBuilder for the given certificate signing certificate.
CertificateFactory - Class in org.symphonyoss.s2.common.crypto.cert
Public factory class for Certificates.
CertificateFactory() - Constructor for class org.symphonyoss.s2.common.crypto.cert.CertificateFactory
 
CertType - Enum in org.symphonyoss.s2.common.crypto.cipher
 
CipherSuite - Class in org.symphonyoss.s2.common.crypto.cipher
Access point for CipherSuites.
CipherSuite() - Constructor for class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
 
CipherSuiteException - Exception in org.symphonyoss.s2.common.crypto.cipher
A general CipherSuite exception.
CipherSuiteException() - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteException
 
CipherSuiteException(String) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteException
 
CipherSuiteException(Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteException
 
CipherSuiteException(String, Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteException
 
CipherSuiteException(String, Throwable, boolean, boolean) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteException
 
CipherSuiteMismatchException - Exception in org.symphonyoss.s2.common.crypto.cipher
A CipherSuite compatibility exception.
CipherSuiteMismatchException() - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteMismatchException
 
CipherSuiteMismatchException(String) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteMismatchException
 
CipherSuiteMismatchException(Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteMismatchException
 
CipherSuiteMismatchException(String, Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteMismatchException
 
CipherSuiteMismatchException(String, Throwable, boolean, boolean) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.CipherSuiteMismatchException
 
createAttributeCert(X509Certificate, Date, Date, URL, PrivateKey, X509Certificate, BigInteger, String, URL, String, String) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Generate an Attribute Certificate.
createCert(String, PublicKey, X500Name, Date, Date, URL, PrivateKey, X509Certificate, BigInteger, String, URL, CertType) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Generate an end user certificate.
createCert(GeneralName[], PublicKey, X500Name, Date, Date, URL, PrivateKey, X509Certificate, BigInteger, String, URL, CertType) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Generate an end user certificate.
createCert(GeneralName[], PKCS10CertificationRequest, X500Name, Date, Date, URL, PrivateKey, X509Certificate, BigInteger, String, URL, CertType) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Generate an end user certificate from a CSR.
createCSR(X500Name, PublicKey, PrivateKey, GeneralName[]) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
createDecryptedInputStream(SecretKey, byte[]) - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
 
createEncryptedOutputStream(SecretKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
 
createIntermediateCert(CertificateBuilder) - Method in interface org.symphonyoss.s2.common.crypto.cert.IMasterCertificate
Create a certificate signing certificate.
createMasterCert(PublicKey, PrivateKey, X500Name, Date, Date, URL, BigInteger) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Generate a Master, self signed certificate.
createSelfSignedCert(KeyPair, X500Name, int) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Create a self signed certificate for the given principal.
createUserSigningCert(CertificateBuilder) - Method in interface org.symphonyoss.s2.common.crypto.cert.IIntermediateCertificate
Create a user signing certificate.

D

decrypt(SecretKey, byte[]) - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
Decrypt the given Base64 encoded cipher test using the given key.

E

encrypt(SecretKey, byte[]) - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
Encrypt the given binary data with the given key and return a Base64 encoded String containing the encrypted form.

G

generateKey() - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
 
generateKeyPair() - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
get(PublicKey) - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
Return the cipher suite implementation for the given key.
get(SecretKey) - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
Return the cipher suite implementation for the given ID.
get(AsymmetricCipher) - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
Return the cipher suite implementation for the given ID.
get(SymmetricCipher) - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
Return the cipher suite implementation for the given ID.
getAllAsymetricCipherSuites() - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
 
getAllSymetricCipherSuites() - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
 
getAsymmetricCipher() - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
Return the default Asymmetric cipher suite.
getAsymmetricCipherSuite() - Method in interface org.symphonyoss.s2.common.crypto.cert.ICertificate
 
getCertType() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getCipher() - Method in interface org.symphonyoss.s2.common.crypto.cipher.ICipherSuite
 
getCipherText() - Method in interface org.symphonyoss.s2.common.crypto.cipher.IEncryptedOutputStream
 
getCommonName() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getCountryName() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getId() - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Get the unique ID for this cipher suite.
getId() - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
Get the unique ID for this cipher suite.
getKeyAlgorithm() - Method in interface org.symphonyoss.s2.common.crypto.cipher.ICipherSuite
Return the name of the KeyAlgorithm used by this CipherSuite.
getKeyPair() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getKeySize(PublicKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
getKeySize(PrivateKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
getKeySize() - Method in interface org.symphonyoss.s2.common.crypto.cipher.ICipherSuite
 
getKeySize(SecretKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
 
getNotAfter() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getNotBefore() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getOcspUrl() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getOrgName() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getOrgUnitNames() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getPrivateKey() - Method in interface org.symphonyoss.s2.common.crypto.cert.IOpenCertificate
 
getPublicKey() - Method in interface org.symphonyoss.s2.common.crypto.cert.ICertificate
 
getSerial() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getSignatureAlgorithm() - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Return the name of the SignatureAlgorithm used by this CipherSuite.
getStateName() - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
getSymmetricCipher() - Static method in class org.symphonyoss.s2.common.crypto.cipher.CipherSuite
Return the default Symmetric cipher suite.
getX509Certificate() - Method in interface org.symphonyoss.s2.common.crypto.cert.ICertificate
 
getX509CertificateChain() - Method in interface org.symphonyoss.s2.common.crypto.cert.ICertificate
 

I

IAsymmetricCipherSuite - Interface in org.symphonyoss.s2.common.crypto.cipher
A public key CipherSuite.
ICertificate - Interface in org.symphonyoss.s2.common.crypto.cert
 
ICipherSuite - Interface in org.symphonyoss.s2.common.crypto.cipher
The super-interface of symmetric and public key CipherSuites.
IDecryptedInputStream - Interface in org.symphonyoss.s2.common.crypto.cipher
 
IEncryptedOutputStream - Interface in org.symphonyoss.s2.common.crypto.cipher
 
IIntermediateCertificate - Interface in org.symphonyoss.s2.common.crypto.cert
A certificate signing certificate.
IMasterCertificate - Interface in org.symphonyoss.s2.common.crypto.cert
A certificate capable of creating signing certificates, which must be open (i.e.
IOpenCertificate - Interface in org.symphonyoss.s2.common.crypto.cert
 
ISignatureVerificationCertificate - Interface in org.symphonyoss.s2.common.crypto.cert
 
ISigningCertificate - Interface in org.symphonyoss.s2.common.crypto.cert
 
ISymmetricCipherSuite - Interface in org.symphonyoss.s2.common.crypto.cipher
 
IWrappingCertificate - Interface in org.symphonyoss.s2.common.crypto.cert
 

L

load(File, String, String, char[]) - Static method in class org.symphonyoss.s2.common.crypto.cert.CertificateFactory
 
load(InputStream, String, String, char[]) - Static method in class org.symphonyoss.s2.common.crypto.cert.CertificateFactory
 
loadCertificate(String) - Static method in class org.symphonyoss.s2.common.crypto.cert.CertificateFactory
Create a certificate from the given PEM format cert chain.
loadOpenCertificate(String, String, char[]) - Static method in class org.symphonyoss.s2.common.crypto.cert.CertificateFactory
Create an open certificate from the given PEM format cert chain, KeyPair and passPhrase.

N

newInstance(int) - Static method in enum org.symphonyoss.s2.common.crypto.cipher.AsymmetricCipher
Return the enum instance represented by the given integer value.
newInstance(int) - Static method in enum org.symphonyoss.s2.common.crypto.cipher.CertType
Return the enum instance represented by the given integer value.
newInstance(int) - Static method in enum org.symphonyoss.s2.common.crypto.cipher.SymmetricCipher
Return the enum instance represented by the given integer value.
NoSuchCipherSuiteException - Exception in org.symphonyoss.s2.common.crypto.cipher
 
NoSuchCipherSuiteException() - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.NoSuchCipherSuiteException
 
NoSuchCipherSuiteException(String) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.NoSuchCipherSuiteException
 
NoSuchCipherSuiteException(Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.NoSuchCipherSuiteException
 
NoSuchCipherSuiteException(String, Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.NoSuchCipherSuiteException
 

O

OpenCert - Class in org.symphonyoss.s2.common.crypto.cert
 
org.symphonyoss.s2.common.crypto.cert - package org.symphonyoss.s2.common.crypto.cert
 
org.symphonyoss.s2.common.crypto.cipher - package org.symphonyoss.s2.common.crypto.cipher
 

P

privateKeyFromDER(String) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
privateKeyToDER(PrivateKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
publicKeyFromDER(String) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
publicKeyToDER(PublicKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 

S

sign(byte[]) - Method in interface org.symphonyoss.s2.common.crypto.cert.IOpenCertificate
 
sign(byte[]) - Method in interface org.symphonyoss.s2.common.crypto.cert.ISigningCertificate
 
sign(byte[], PrivateKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Sign the given data.
sign(String, PrivateKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Sign the given data and return a base64 encoded string of the signature.
SignatureVerificationCert - Class in org.symphonyoss.s2.common.crypto.cert
 
SignatureVerificationException - Exception in org.symphonyoss.s2.common.crypto.cipher
 
SignatureVerificationException(String) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.SignatureVerificationException
 
SignatureVerificationException(Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.SignatureVerificationException
 
SignatureVerificationException(String, Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.SignatureVerificationException
 
SignatureVerificationException(String, Throwable, boolean, boolean) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.SignatureVerificationException
 
store(File, String, String, char[]) - Method in interface org.symphonyoss.s2.common.crypto.cert.IOpenCertificate
 
storeUserKeystore(File, char[]) - Method in interface org.symphonyoss.s2.common.crypto.cert.IOpenCertificate
 
SymmetricCipher - Enum in org.symphonyoss.s2.common.crypto.cipher
An identifier for a Symmetric Cipher Suite.

T

toInt() - Method in enum org.symphonyoss.s2.common.crypto.cipher.AsymmetricCipher
 
toInt() - Method in enum org.symphonyoss.s2.common.crypto.cipher.CertType
 
toInt() - Method in enum org.symphonyoss.s2.common.crypto.cipher.SymmetricCipher
 
typedCertificate(Certificate) - Static method in class org.symphonyoss.s2.common.crypto.cert.CertificateFactory
 

U

UnknownCipherSuiteException - Exception in org.symphonyoss.s2.common.crypto.cipher
The requested CipherSuite does not exist.
UnknownCipherSuiteException() - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.UnknownCipherSuiteException
 
UnknownCipherSuiteException(String, Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.UnknownCipherSuiteException
 
UnknownCipherSuiteException(String) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.UnknownCipherSuiteException
 
UnknownCipherSuiteException(Throwable) - Constructor for exception org.symphonyoss.s2.common.crypto.cipher.UnknownCipherSuiteException
 
unwrap(byte[], PrivateKey, ISymmetricCipherSuite) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Unwrap the given encrypted SecretKey
unwrap(byte[], SecretKey, IAsymmetricCipherSuite) - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
Unwrap the given encrypted PrivateKey

V

validateKey(KeyPair) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Validate the given KeyPair and throw an exception if it is not suitable for use with this CipherSuite.
validateKey(PrivateKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Validate the given key and throw an exception if it is not suitable for use with this CipherSuite.
validateKey(PublicKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Validate the given key and throw an exception if it is not suitable for use with this CipherSuite.
valueOf(String) - Static method in enum org.symphonyoss.s2.common.crypto.cipher.AsymmetricCipher
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.symphonyoss.s2.common.crypto.cipher.CertType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.symphonyoss.s2.common.crypto.cipher.SymmetricCipher
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.symphonyoss.s2.common.crypto.cipher.AsymmetricCipher
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.symphonyoss.s2.common.crypto.cipher.CertType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.symphonyoss.s2.common.crypto.cipher.SymmetricCipher
Returns an array containing the constants of this enum type, in the order they are declared.
verifySignature(ByteString, byte[]) - Method in interface org.symphonyoss.s2.common.crypto.cert.ISignatureVerificationCertificate
 
verifySignature(byte[], byte[]) - Method in interface org.symphonyoss.s2.common.crypto.cert.ISignatureVerificationCertificate
 
verifySignature(byte[], byte[], Certificate) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 
verifySignature(byte[], byte[], PublicKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
 

W

withCertType(CertType) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withCommonName(String) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withCountryName(String) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withKeyPair(KeyPair) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
Set the KeyPair to be used for the next certificate creation.
withNotAfter(Date) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withNotBefore(Date) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withOcspUrl(URL) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withOrganizationName(String) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withOrgName(String) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withOrgUnitName(String) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withSerial(BigInteger) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withStateName(String) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withValidityDays(int) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
withValidityMonths(int) - Method in class org.symphonyoss.s2.common.crypto.cert.CertificateBuilder
 
wrap(SecretKey, PublicKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.IAsymmetricCipherSuite
Wrap the given symmetric key by encrypting with the given user's public key.
wrap(PrivateKey, SecretKey) - Method in interface org.symphonyoss.s2.common.crypto.cipher.ISymmetricCipherSuite
Wrap the given asymmetric key by encrypting with the given user's secret key.
A B C D E G I L N O P S T U V W 
Skip navigation links

Copyright © 2018 Symphony Software Foundation. All rights reserved.