public class WSSElementFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static ObjectFactory |
eoFactory |
| Constructor and Description |
|---|
WSSElementFactory(com.sun.xml.ws.api.SOAPVersion soapVersion)
Creates a new instance of WSSKeyInfoFactory
|
public static final ObjectFactory eoFactory
public WSSElementFactory(com.sun.xml.ws.api.SOAPVersion soapVersion)
public SecurityHeader createSecurityHeader()
public SecurityHeader createSecurityHeader(int headerLayout, String soapVersion, boolean mustUnderstandValue)
public BinarySecurityToken createBinarySecurityToken(String id, String valueType, String encodingType, byte[] token)
public BinarySecurityToken createBinarySecurityToken(String id, byte[] cer)
public BinarySecurityToken createKerberosBinarySecurityToken(String id, byte[] token)
public SecurityTokenReference createSecurityTokenReference(Reference reference)
public SecurityTokenReference createSecurityTokenReference()
public DirectReference createDirectReference()
public KeyIdentifier createKeyIdentifier()
public X509Data createX509DataWithIssuerSerial(X509IssuerSerial xis)
public GSHeaderElement createGSHeaderElement(JAXBElement el)
public GSHeaderElement createGSHeaderElement(Object obj)
public SecurityContextToken createSecurityContextToken(URI identifier, String instance, String wsuId)
public SecurityContextToken createSecurityContextToken(SecurityContextTokenType sTokenType, String wsuId)
public X509IssuerSerial createX509IssuerSerial(String issuerName, BigInteger serialNumber)
public KeyInfo createKeyInfo(SecurityTokenReference str)
public EncryptedData createEncryptedData(String id, Data data, String dataAlgo, KeyInfoType keyInfo, Key key, boolean contentOnly)
public EncryptedData createEncryptedData(String id, com.sun.xml.ws.api.message.Attachment attachment, String dataAlgo, KeyInfoType keyInfo, Key key, EncryptionTarget target)
public EncryptedHeader createEncryptedHeader(String ehId, String edId, Data data, String dataAlgo, KeyInfoType keyInfo, Key key, boolean contentOnly)
public EncryptedKey createEncryptedKey(String id, String keyEncAlgo, KeyInfo keyInfo, Key dkEK, Key dataEncKey) throws XWSSecurityException
XWSSecurityExceptionpublic JAXBElement<ReferenceType> createDataReference(SecurityElement se)
public KeyInfoType createKeyInfoType(String keyAlgo, String refType, String refId)
public DerivedKey createDerivedKey(String id, String algo, byte[] nonce, long offset, long length, String label, SecurityTokenReference str, String spVersion)
public DerivedKey createDerivedKey(String id, String algo, byte[] nonce, long offset, long length, String label, SecurityTokenReferenceType str, String spVersion)
public DerivedKey createDerivedKey(String id, String algo, byte[] nonce, long offset, long length, String label, SecurityTokenReferenceType str, String refId, String spVersion)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.