|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface to an attribute associated with per-signer information.
Attributes are carried in the SignerInfo associated with each signer in a CMS SignedData. An attribute may be included in the signing process (obtainable via SignerInfo.getSignedAttributes()) or may be excluded (obtainable via SignerInfo.getUnsignedAttributes()).
Commonly used Attributes are defined in the atts sub-package.
Attribute is defined by the ASN.1 structure
Attribute ::= SEQUENCE {
attrType OBJECT IDENTIFIER,
attrValues SET OF AttributeValue}
AttributeValue :: ANY
SignedData,
SignerInfo| Method Summary | |
byte[] |
getEncodedValues()
Returns the encoded value for this Attribute (the ASN.1 DER encoding for the SET OF in the ASN.1 definition of Attribute). |
String |
getOid()
Returns the Object Identifier (as a "dotted string") for this Attribute. |
| Method Detail |
public String getOid()
public byte[] getEncodedValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||