public class PrivateKeyBinding extends WSSPolicy
_featureBinding, _isOptional, _keyBinding, _policyIdentifier, bsp, UUID| Constructor and Description |
|---|
PrivateKeyBinding()
Default constructor
|
PrivateKeyBinding(String keyIdentifier,
String keyAlgorithm)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
clone operator
|
boolean |
equals(WSSPolicy binding)
equality operator
|
boolean |
equalsIgnoreTargets(WSSPolicy binding) |
String |
getKeyAlgorithm() |
String |
getKeyIdentifier() |
PrivateKey |
getPrivateKey() |
String |
getType()
Get the type of the policy.
|
void |
setKeyAlgorithm(String keyAlgorithm)
set the KeyAlgorithm of this Private Key.
|
void |
setKeyIdentifier(String keyIdentifier)
set the keyIdentifier for the Private Key
|
void |
setPrivateKey(PrivateKey privateKey)
set the private key instance
|
String |
toString() |
getFeatureBinding, getKeyBinding, getPolicyIdentifier, getUUID, isBSP, isBSP, isOptional, isOptional, setFeatureBinding, setKeyBinding, setPolicyIdentifier, setUUIDisReadOnly, isReadOnlypublic void setKeyIdentifier(String keyIdentifier)
keyIdentifier - Key Identifier for the Private Keypublic String getKeyIdentifier()
public void setKeyAlgorithm(String keyAlgorithm)
keyAlgorithm - KeyAlgorithm of this Private Keypublic String getKeyAlgorithm()
public void setPrivateKey(PrivateKey privateKey)
privateKey - PrivateKey for this PrivateKeyBindingpublic PrivateKey getPrivateKey()
public boolean equals(WSSPolicy binding)
equals in class WSSPolicybinding - the Policy to be checked for equalitySignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicy,
PrivateKeyBinding,
SymmetricKeyBindingpublic boolean equalsIgnoreTargets(WSSPolicy binding)
equalsIgnoreTargets in class WSSPolicypublic Object clone()
clone in class WSSPolicySignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicypublic String getType()
SecurityPolicyImplementation Note: Useful to avoid instanceof checks and String.equals checks
Copyright © 2005–2018 Oracle Corporation. All rights reserved.