PKCS12::CDecPkcs12Attribute Class Reference
class PKCS12::CDecPkcs12Attribute : public CBase
|
This class decodes the bagAttributes present in the SafeBag. It has methods to get the AttributeId and the AttributeValue.
Inherits from
-
PKCS12::CDecPkcs12Attribute
Constructor & Destructor Documentation
CDecPkcs12Attribute()
CDecPkcs12Attribute
|
(
|
)
|
[private]
|
CDecPkcs12Attribute(const CDecPkcs12Attribute &)
~CDecPkcs12Attribute()
~CDecPkcs12Attribute
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AttributeId()
IMPORT_C const
TDesC
&
|
AttributeId
|
(
|
)
|
const
|
Returns the ObjectIdentifier indicating the attribute type:
OID ---- 1.2.840.113549.1.9.21 localKeyId
AttributeValue()
Returns the DER encoded attribute values present in the Safe Bag.
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aBagAttributes
|
)
|
[private]
|
This decodes the entire BagAttributes structure
-
leave
-
if the bag attribute set is not a sequence or class tag name is not Universal.
Parameters
const
TDesC8
& aBagAttributes
|
Contains a PKCS#12 attribute set.
|
NewL(const TDesC8 &)
Creates a new PKCS#12 attribute object.
PKCS#12AttrSet ATTRIBUTE ::= { friendlyName | localKeyId, ... -- Other attributes are allowed }
-
leave
-
if the bag attribute set is not a sequence or class tag name is not Universal.
Parameters
const
TDesC8
& aBagAttributes
|
Contains a PKCS#12 attribute set.
|
operator=(const CDecPkcs12Attribute &)
Member Data Documentation
HBufC * iAttributeId
HBufC
*
|
iAttributeId
|
[private]
|
Contains the object identifier indicating the attribute type
RPointerArray< TDesC8 > iAttributeValue
Contains the attribute value which is an DER encoded value
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.