Package org.apache.ws.secpolicy.model
Class X509Token
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.Token
org.apache.ws.secpolicy.model.X509Token
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
boolean
boolean
boolean
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setEncryptionUser
(String encryptionUser) void
setRequireEmbeddedTokenReference
(boolean requireEmbeddedTokenReference) void
setRequireIssuerSerialReference
(boolean requireIssuerSerialReference) void
setRequireKeyIdentifierReference
(boolean requireKeyIdentifierReference) void
setRequireThumbprintReference
(boolean requireThumbprintReference) void
setRequireX509V3KeyIdentifierReference
(boolean requireX509V3KeyIdentifierReference) void
setTokenVersionAndType
(String tokenVersionAndType) void
setUserCertAlias
(String userCertAlias) Methods inherited from class org.apache.ws.secpolicy.model.Token
getInclusion, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
X509Token
public X509Token(int version)
-
-
Method Details
-
getEncryptionUser
-
setEncryptionUser
-
getUserCertAlias
-
setUserCertAlias
-
isRequireEmbeddedTokenReference
public boolean isRequireEmbeddedTokenReference()- Returns:
- Returns the requireEmbeddedTokenReference.
-
setRequireEmbeddedTokenReference
public void setRequireEmbeddedTokenReference(boolean requireEmbeddedTokenReference) - Parameters:
requireEmbeddedTokenReference
- The requireEmbeddedTokenReference to set.
-
isRequireIssuerSerialReference
public boolean isRequireIssuerSerialReference()- Returns:
- Returns the requireIssuerSerialReference.
-
setRequireIssuerSerialReference
public void setRequireIssuerSerialReference(boolean requireIssuerSerialReference) - Parameters:
requireIssuerSerialReference
- The requireIssuerSerialReference to set.
-
isRequireKeyIdentifierReference
public boolean isRequireKeyIdentifierReference()- Returns:
- Returns the requireKeyIdentifierReference.
-
setRequireKeyIdentifierReference
public void setRequireKeyIdentifierReference(boolean requireKeyIdentifierReference) - Parameters:
requireKeyIdentifierReference
- The requireKeyIdentifierReference to set.
-
isRequireThumbprintReference
public boolean isRequireThumbprintReference()- Returns:
- Returns the requireThumbprintReference.
-
setRequireThumbprintReference
public void setRequireThumbprintReference(boolean requireThumbprintReference) - Parameters:
requireThumbprintReference
- The requireThumbprintReference to set.
-
isRequireX509V3KeyIdentifierReference
public boolean isRequireX509V3KeyIdentifierReference()- Returns:
- Returns the requireX509V3KeyIdentifierReference
-
setRequireX509V3KeyIdentifierReference
public void setRequireX509V3KeyIdentifierReference(boolean requireX509V3KeyIdentifierReference) - Parameters:
requireX509V3KeyIdentifierReference
- The requireX509V3KeyIdentifierReference to set
-
getTokenVersionAndType
- Returns:
- Returns the tokenVersionAndType.
-
setTokenVersionAndType
- Parameters:
tokenVersionAndType
- The tokenVersionAndType to set.
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-