public interface ConcatKDFParams extends XMLObject
<element name="ConcatKDFParams" type="xenc11:ConcatKDFParamsType"/>
<complexType name="ConcatKDFParamsType">
<sequence>
<element ref="ds:DigestMethod"/>
</sequence>
<attribute name="AlgorithmID" type="hexBinary"/>
<attribute name="PartyUInfo" type="hexBinary"/>
<attribute name="PartyVInfo" type="hexBinary"/>
<attribute name="SuppPubInfo" type="hexBinary"/>
<attribute name="SuppPrivInfo" type="hexBinary"/
</complexType>
The AlgorithmID, PartyUInfo, PartyVInfo, SuppPubInfo and SuppPrivInfo attributes are all defined as arbitrary-length bitstrings, thus they may need to be padded in order to be encoded into hexBinary for XML Encryption. The following padding and encoding method must be used when encoding bitstring values for the AlgorithmID, PartyUInfo, PartyVInfo, SuppPubInfo and SuppPrivInfo:
Example: the bitstring 11011, which is 5 bits long, gets 3 additional padding bits to become the bitstring 11011000 (or D8 in hex). This bitstring is then prepended with one octet identifying the number of padding bits to become the octet string (in hex) 03D8, which then finally is encoded as a hexBinary string value of "03D8".
| Modifier and Type | Field and Description |
|---|---|
static String |
ALGORITHMID_ATTRIBUTE_NAME
AlgorithmID attribute name.
|
static String |
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.
|
static QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static String |
PARTY_UI_NFO_ATTRIBUTE_NAME
PartyUInfo attribute name.
|
static String |
PARTY_V_INFO_ATTRIBUTE_NAME
PartyVInfo attribute name.
|
static String |
SUPP_PRIV_INFO_ATTRIBUTE_NAME
SuppPrivInfo attribute name.
|
static String |
SUPP_PUB_INFO_ATTRIBUTE_NAME
SuppPubInfo attribute name.
|
static String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static QName |
TYPE_NAME
QName of the XSI type.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAlgorithmID()
Gets the
AlgorithmID attribute in its padded and encoded form. |
DigestMethod |
getDigestMethod()
Gets the digest method.
|
byte[] |
getPartyUInfo()
Gets the
PartyUInfo attribute in its padded and encoded form. |
byte[] |
getPartyVInfo()
Gets the
PartyVInfo attribute in its padded and encoded form. |
byte[] |
getSuppPrivInfo()
Gets the
SuppPrivInfo attribute in its padded and encoded form. |
byte[] |
getSuppPubInfo()
Gets the
SuppPubInfo attribute in its padded and encoded form. |
void |
setAlgorithmID(byte[] algorithmID)
Sets the
AlgorithmID attribute. |
void |
setDigestMethod(DigestMethod digestMethod)
Sets the digest method.
|
void |
setPartyUInfo(byte[] partyUInfo)
Sets the
PartyUInfo attribute. |
void |
setPartyVInfo(byte[] partyVInfo)
Sets the
PartyVInfo attribute. |
void |
setSuppPrivInfo(byte[] suppPrivInfo)
Sets the
SuppPrivInfo attribute. |
void |
setSuppPubInfo(byte[] suppPubInfo)
Sets the
SuppPubInfo attribute. |
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationstatic final String DEFAULT_ELEMENT_LOCAL_NAME
static final QName DEFAULT_ELEMENT_NAME
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
static final String ALGORITHMID_ATTRIBUTE_NAME
static final String PARTY_UI_NFO_ATTRIBUTE_NAME
static final String PARTY_V_INFO_ATTRIBUTE_NAME
static final String SUPP_PUB_INFO_ATTRIBUTE_NAME
static final String SUPP_PRIV_INFO_ATTRIBUTE_NAME
DigestMethod getDigestMethod()
void setDigestMethod(DigestMethod digestMethod)
digestMethod - the digest methodbyte[] getAlgorithmID()
AlgorithmID attribute in its padded and encoded form.AlgorithmID attributevoid setAlgorithmID(byte[] algorithmID)
AlgorithmID attribute.algorithmID - the AlgorithmID attribute in its padded and encoded formbyte[] getPartyUInfo()
PartyUInfo attribute in its padded and encoded form.PartyUInfo attributevoid setPartyUInfo(byte[] partyUInfo)
PartyUInfo attribute.partyUInfo - the PartyUInfo attribute in its padded and encoded formbyte[] getPartyVInfo()
PartyVInfo attribute in its padded and encoded form.PartyVInfo attributevoid setPartyVInfo(byte[] partyVInfo)
PartyVInfo attribute.partyVInfo - the PartyVInfo attribute in its padded and encoded formbyte[] getSuppPubInfo()
SuppPubInfo attribute in its padded and encoded form.SuppPubInfo attributevoid setSuppPubInfo(byte[] suppPubInfo)
SuppPubInfo attribute.suppPubInfo - the SuppPubInfo attribute in its padded and encoded formbyte[] getSuppPrivInfo()
SuppPrivInfo attribute in its padded and encoded form.SuppPrivInfo attributevoid setSuppPrivInfo(byte[] suppPrivInfo)
SuppPrivInfo attribute.suppPrivInfo - the SuppPrivInfo attribute in its padded and encoded formCopyright © 2020 Sweden Connect. All rights reserved.