APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.ssl

pack-priv Class SSLAlgorithmDecomposer

extends AlgorithmDecomposer
Class Inheritance
Imports
java.util.HashSet, .Set, sun.security.ssl.CipherSuite.HashAlg, .CipherSuite.KeyExchange, .CipherSuite.MacAlg, sun.security.util.AlgorithmDecomposer

The class decomposes standard SSL/TLS cipher suites into sub-elements.

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
pack-priv
SSLAlgorithmDecomposer(boolean onlyX509)

pack-priv

Method Summary

Modifier and TypeMethod and Description
private Set<String>
public Set<String>
decompose(String algorithm)

Overrides sun.security.util.AlgorithmDecomposer.decompose.

Decompose the standard algorithm name into sub-elements.

private Set<String>
private Set<String>
decomposes(SSLCipher bulkCipher)

private Set<String>
private Set<String>
Inherited from sun.security.util.AlgorithmDecomposer:
getAliases

Field Detail

onlyX509back to summary
private final boolean onlyX509

Constructor Detail

SSLAlgorithmDecomposerback to summary
pack-priv SSLAlgorithmDecomposer(boolean onlyX509)
SSLAlgorithmDecomposerback to summary
pack-priv SSLAlgorithmDecomposer()

Method Detail

decomposeback to summary
private Set<String> decompose(CipherSuite.KeyExchange keyExchange, SSLCipher cipher, CipherSuite.MacAlg macAlg, CipherSuite.HashAlg hashAlg)
decomposeback to summary
public Set<String> decompose(String algorithm)

Overrides sun.security.util.AlgorithmDecomposer.decompose.

Doc from sun.security.util.AlgorithmDecomposer.decompose.

Decompose the standard algorithm name into sub-elements.

For example, we need to decompose "SHA1WithRSA" into "SHA1" and "RSA" so that we can check the "SHA1" and "RSA" algorithm constraints separately.

Please override the method if you need to support more name pattern.

Annotations
@Override
decomposesback to summary
private Set<String> decomposes(CipherSuite.KeyExchange keyExchange)
decomposesback to summary
private Set<String> decomposes(SSLCipher bulkCipher)
decomposesback to summary
private Set<String> decomposes(CipherSuite.MacAlg macAlg, SSLCipher cipher)
decomposesback to summary
private Set<String> decomposes(CipherSuite.HashAlg hashAlg)