@NotThreadSafe @MustImplementEqualsAndHashcode public class PModeLegSecurity extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_PMODE_AUTHORIZE |
static boolean |
DEFAULT_SEND_RECEIPT |
static boolean |
DEFAULT_SEND_RECEIPT_NON_REPUDIATION |
static boolean |
DEFAULT_USERNAME_TOKEN_CREATED |
static boolean |
DEFAULT_USERNAME_TOKEN_DIGEST |
static boolean |
DEFAULT_USERNAME_TOKEN_NONCE |
static boolean |
DEFAULT_X509_ENCRYPTION_ENCRYPT |
static boolean |
DEFAULT_X509_SIGN |
| Constructor and Description |
|---|
PModeLegSecurity() |
PModeLegSecurity(EWSSVersion eWSSVersion,
com.helger.commons.collection.impl.ICommonsList<String> aX509SignElement,
com.helger.commons.collection.impl.ICommonsList<String> aX509SignAttachment,
String sX509SignatureCertificate,
ECryptoAlgorithmSignDigest eX509SignatureHashFunction,
ECryptoAlgorithmSign sX509SignatureAlgorithm,
com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptElement,
com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptAttachment,
String sX509EncryptionCertificate,
ECryptoAlgorithmCrypt sX509EncryptionAlgorithm,
Integer aX509EncryptionMinimumStrength,
String sUsernameTokenUsername,
String sUsernameTokenPassword,
com.helger.commons.state.ETriState eUsernameTokenDigest,
com.helger.commons.state.ETriState eUsernameTokenNonce,
com.helger.commons.state.ETriState eUsernameTokenCreated,
com.helger.commons.state.ETriState ePModeAuthorize,
com.helger.commons.state.ETriState eSendReceipt,
EPModeSendReceiptReplyPattern eSendReceiptReplyPattern,
com.helger.commons.state.ETriState eSendReceiptNonRepudiation) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableEncryption() |
void |
disableSigning() |
boolean |
equals(Object o) |
EPModeSendReceiptReplyPattern |
getSendReceiptReplyPattern() |
String |
getSendReceiptReplyPatternID() |
String |
getUsernameTokenPassword() |
String |
getUsernameTokenUsername() |
EWSSVersion |
getWSSVersion() |
String |
getWSSVersionAsString() |
ECryptoAlgorithmCrypt |
getX509EncryptionAlgorithm() |
String |
getX509EncryptionAlgorithmID() |
String |
getX509EncryptionCertificate() |
com.helger.commons.collection.impl.ICommonsList<String> |
getX509EncryptionEncryptAttachment() |
com.helger.commons.collection.impl.ICommonsList<String> |
getX509EncryptionEncryptElement() |
Integer |
getX509EncryptionMinimumStrength() |
com.helger.commons.collection.impl.ICommonsList<String> |
getX509SignAttachment() |
ECryptoAlgorithmSign |
getX509SignatureAlgorithm() |
String |
getX509SignatureAlgorithmID() |
String |
getX509SignatureCertificate() |
ECryptoAlgorithmSignDigest |
getX509SignatureHashFunction() |
String |
getX509SignatureHashFunctionID() |
com.helger.commons.collection.impl.ICommonsList<String> |
getX509SignElement() |
int |
hashCode() |
boolean |
hasUsernameTokenPassword() |
boolean |
hasUsernameTokenUsername() |
boolean |
hasWSSVersion() |
boolean |
hasX509EncryptionAlgorithm() |
boolean |
hasX509EncryptionCertificate() |
boolean |
hasX509EncryptionMinimumStrength() |
boolean |
hasX509SignatureAlgorithm() |
boolean |
hasX509SignatureCertificate() |
boolean |
hasX509SignatureHashFunction() |
boolean |
isPModeAuthorize() |
boolean |
isPModeAuthorizeDefined() |
boolean |
isSendReceipt() |
boolean |
isSendReceiptDefined() |
boolean |
isSendReceiptNonRepudiation() |
boolean |
isSendReceiptNonRepudiationDefined() |
boolean |
isUsernameTokenCreated() |
boolean |
isUsernameTokenCreatedDefined() |
boolean |
isUsernameTokenDigest() |
boolean |
isUsernameTokenDigestDefined() |
boolean |
isUsernameTokenNonce() |
boolean |
isUsernameTokenNonceDefined() |
com.helger.commons.state.EChange |
setPModeAuthorize(boolean bPModeAuthorize) |
com.helger.commons.state.EChange |
setPModeAuthorize(com.helger.commons.state.ETriState ePModeAuthorize) |
com.helger.commons.state.EChange |
setSendReceipt(boolean bSendReceipt) |
com.helger.commons.state.EChange |
setSendReceipt(com.helger.commons.state.ETriState eSendReceipt) |
com.helger.commons.state.EChange |
setSendReceiptNonRepudiation(boolean bSendReceiptNonRepudiation) |
com.helger.commons.state.EChange |
setSendReceiptNonRepudiation(com.helger.commons.state.ETriState eSendReceiptNonRepudiation) |
com.helger.commons.state.EChange |
setSendReceiptReplyPattern(EPModeSendReceiptReplyPattern eSendReceiptReplyPattern) |
com.helger.commons.state.EChange |
setUsernameTokenCreated(boolean bUsernameTokenCreated) |
com.helger.commons.state.EChange |
setUsernameTokenCreated(com.helger.commons.state.ETriState eUsernameTokenCreated) |
com.helger.commons.state.EChange |
setUsernameTokenDigest(boolean bUsernameTokenDigest) |
com.helger.commons.state.EChange |
setUsernameTokenDigest(com.helger.commons.state.ETriState eUsernameTokenDigest) |
com.helger.commons.state.EChange |
setUsernameTokenNonce(boolean bUsernameTokenNonce) |
com.helger.commons.state.EChange |
setUsernameTokenNonce(com.helger.commons.state.ETriState eUsernameTokenNonce) |
com.helger.commons.state.EChange |
setUsernameTokenPassword(String sUsernameTokenPassword) |
com.helger.commons.state.EChange |
setUsernameTokenUsername(String sUsernameTokenUsername) |
com.helger.commons.state.EChange |
setWSSVersion(EWSSVersion eWSSVersion) |
com.helger.commons.state.EChange |
setX509EncryptionAlgorithm(ECryptoAlgorithmCrypt eX509EncryptionAlgorithm) |
com.helger.commons.state.EChange |
setX509EncryptionCertificate(String sX509EncryptionCertificate) |
com.helger.commons.state.EChange |
setX509EncryptionEncryptAttachment(com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptAttachment) |
com.helger.commons.state.EChange |
setX509EncryptionEncryptElement(com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptElement) |
com.helger.commons.state.EChange |
setX509EncryptionMinimumStrength(Integer aX509EncryptionMinimumStrength) |
com.helger.commons.state.EChange |
setX509SignAttachment(com.helger.commons.collection.impl.ICommonsList<String> aX509SignAttachment) |
com.helger.commons.state.EChange |
setX509SignatureAlgorithm(ECryptoAlgorithmSign eX509SignatureAlgorithm) |
com.helger.commons.state.EChange |
setX509SignatureCertificate(String sX509SignatureCertificate) |
com.helger.commons.state.EChange |
setX509SignatureHashFunction(ECryptoAlgorithmSignDigest eX509SignatureHashFunction) |
com.helger.commons.state.EChange |
setX509SignElement(com.helger.commons.collection.impl.ICommonsList<String> aX509SignElement) |
String |
toString() |
public static final boolean DEFAULT_USERNAME_TOKEN_DIGEST
public static final boolean DEFAULT_USERNAME_TOKEN_NONCE
public static final boolean DEFAULT_USERNAME_TOKEN_CREATED
public static final boolean DEFAULT_PMODE_AUTHORIZE
public static final boolean DEFAULT_X509_SIGN
public static final boolean DEFAULT_X509_ENCRYPTION_ENCRYPT
public static final boolean DEFAULT_SEND_RECEIPT
public static final boolean DEFAULT_SEND_RECEIPT_NON_REPUDIATION
public PModeLegSecurity()
public PModeLegSecurity(@Nullable EWSSVersion eWSSVersion, @Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509SignElement, @Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509SignAttachment, @Nullable String sX509SignatureCertificate, @Nullable ECryptoAlgorithmSignDigest eX509SignatureHashFunction, @Nullable ECryptoAlgorithmSign sX509SignatureAlgorithm, @Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptElement, @Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptAttachment, @Nullable String sX509EncryptionCertificate, @Nullable ECryptoAlgorithmCrypt sX509EncryptionAlgorithm, @Nullable Integer aX509EncryptionMinimumStrength, @Nullable String sUsernameTokenUsername, @Nullable String sUsernameTokenPassword, @Nonnull com.helger.commons.state.ETriState eUsernameTokenDigest, @Nonnull com.helger.commons.state.ETriState eUsernameTokenNonce, @Nonnull com.helger.commons.state.ETriState eUsernameTokenCreated, @Nonnull com.helger.commons.state.ETriState ePModeAuthorize, @Nonnull com.helger.commons.state.ETriState eSendReceipt, @Nullable EPModeSendReceiptReplyPattern eSendReceiptReplyPattern, @Nonnull com.helger.commons.state.ETriState eSendReceiptNonRepudiation)
@Nullable public EWSSVersion getWSSVersion()
public boolean hasWSSVersion()
@Nonnull public final com.helger.commons.state.EChange setWSSVersion(@Nullable EWSSVersion eWSSVersion)
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getX509SignElement()
@Nonnull public final com.helger.commons.state.EChange setX509SignElement(@Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509SignElement)
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getX509SignAttachment()
@Nonnull public final com.helger.commons.state.EChange setX509SignAttachment(@Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509SignAttachment)
public boolean hasX509SignatureCertificate()
@Nonnull public final com.helger.commons.state.EChange setX509SignatureCertificate(@Nullable String sX509SignatureCertificate)
@Nullable public ECryptoAlgorithmSignDigest getX509SignatureHashFunction()
public boolean hasX509SignatureHashFunction()
@Nonnull public final com.helger.commons.state.EChange setX509SignatureHashFunction(@Nullable ECryptoAlgorithmSignDigest eX509SignatureHashFunction)
@Nullable public ECryptoAlgorithmSign getX509SignatureAlgorithm()
public boolean hasX509SignatureAlgorithm()
@Nonnull public final com.helger.commons.state.EChange setX509SignatureAlgorithm(@Nullable ECryptoAlgorithmSign eX509SignatureAlgorithm)
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getX509EncryptionEncryptElement()
@Nonnull public final com.helger.commons.state.EChange setX509EncryptionEncryptElement(@Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptElement)
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getX509EncryptionEncryptAttachment()
@Nonnull public final com.helger.commons.state.EChange setX509EncryptionEncryptAttachment(@Nullable com.helger.commons.collection.impl.ICommonsList<String> aX509EncryptionEncryptAttachment)
public boolean hasX509EncryptionCertificate()
@Nonnull public final com.helger.commons.state.EChange setX509EncryptionCertificate(@Nullable String sX509EncryptionCertificate)
@Nullable public ECryptoAlgorithmCrypt getX509EncryptionAlgorithm()
public boolean hasX509EncryptionAlgorithm()
@Nonnull public final com.helger.commons.state.EChange setX509EncryptionAlgorithm(@Nullable ECryptoAlgorithmCrypt eX509EncryptionAlgorithm)
public boolean hasX509EncryptionMinimumStrength()
@Nonnull public final com.helger.commons.state.EChange setX509EncryptionMinimumStrength(@Nullable Integer aX509EncryptionMinimumStrength)
public boolean hasUsernameTokenUsername()
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenUsername(@Nullable String sUsernameTokenUsername)
public boolean hasUsernameTokenPassword()
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenPassword(@Nullable String sUsernameTokenPassword)
public boolean isUsernameTokenDigestDefined()
public boolean isUsernameTokenDigest()
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenDigest(boolean bUsernameTokenDigest)
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenDigest(@Nonnull com.helger.commons.state.ETriState eUsernameTokenDigest)
public boolean isUsernameTokenNonceDefined()
public boolean isUsernameTokenNonce()
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenNonce(boolean bUsernameTokenNonce)
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenNonce(@Nonnull com.helger.commons.state.ETriState eUsernameTokenNonce)
public boolean isUsernameTokenCreatedDefined()
public boolean isUsernameTokenCreated()
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenCreated(boolean bUsernameTokenCreated)
@Nonnull public final com.helger.commons.state.EChange setUsernameTokenCreated(@Nonnull com.helger.commons.state.ETriState eUsernameTokenCreated)
public boolean isPModeAuthorizeDefined()
public boolean isPModeAuthorize()
@Nonnull public final com.helger.commons.state.EChange setPModeAuthorize(boolean bPModeAuthorize)
@Nonnull public final com.helger.commons.state.EChange setPModeAuthorize(@Nonnull com.helger.commons.state.ETriState ePModeAuthorize)
public boolean isSendReceiptDefined()
public boolean isSendReceipt()
@Nonnull public final com.helger.commons.state.EChange setSendReceipt(boolean bSendReceipt)
@Nonnull public final com.helger.commons.state.EChange setSendReceipt(@Nonnull com.helger.commons.state.ETriState eSendReceipt)
@Nullable public EPModeSendReceiptReplyPattern getSendReceiptReplyPattern()
public String getSendReceiptReplyPatternID()
@Nonnull public final com.helger.commons.state.EChange setSendReceiptReplyPattern(@Nullable EPModeSendReceiptReplyPattern eSendReceiptReplyPattern)
public boolean isSendReceiptNonRepudiationDefined()
public boolean isSendReceiptNonRepudiation()
@Nonnull public final com.helger.commons.state.EChange setSendReceiptNonRepudiation(boolean bSendReceiptNonRepudiation)
@Nonnull public final com.helger.commons.state.EChange setSendReceiptNonRepudiation(@Nonnull com.helger.commons.state.ETriState eSendReceiptNonRepudiation)
public void disableSigning()
public void disableEncryption()
Copyright © 2015–2020 Philip Helger. All rights reserved.