CX509AuthorityKeyIdExt Class Reference
class CX509AuthorityKeyIdExt : public CX509ExtensionBase
|
An X.509 certificate extension that provides a way to find the public key corresponding to the private key used to sign the certificate.
This is referred to as the authority key ID extension.
The key may be identified by the issuer's name and the issuing certificate's serial number, or by a key identifier value either derived from the public key or by some method of generating unique IDs.
Constructor & Destructor Documentation
CX509AuthorityKeyIdExt()
CX509AuthorityKeyIdExt
|
(
|
)
|
[private]
|
~CX509AuthorityKeyIdExt()
~CX509AuthorityKeyIdExt
|
(
|
)
|
[virtual]
|
Destructor.
Frees all resources owned by the object, prior to its destruction.
Member Functions Documentation
AuthorityCertSerialNumber()
IMPORT_C
TPtrC8
|
AuthorityCertSerialNumber
|
(
|
)
|
const
|
Gets the authority certificate serial number.
DecodeKeyIdL(const TDesC8 &)
void
|
DecodeKeyIdL
|
(
|
const
TDesC8
&
|
aBinaryData
|
)
|
[private]
|
DecodeNameL(const TDesC8 &)
void
|
DecodeNameL
|
(
|
const
TDesC8
&
|
aBinaryData
|
)
|
[private]
|
DecodeSerialNoL(const TDesC8 &)
void
|
DecodeSerialNoL
|
(
|
const
TDesC8
&
|
aBinaryData
|
)
|
[private]
|
DoConstructL(const TDesC8 &, TInt &)
void
|
DoConstructL
|
(
|
const
TDesC8
&
|
aBinaryData,
|
|
TInt
&
|
aPos
|
|
)
|
[private, virtual]
|
Implementation for second-phase construction.
This is called by
ConstructL()
.
Parameters
const
TDesC8
& aBinaryData
|
The encoded binary representation. This is the same as passed to ConstructL().
|
TInt
& aPos
|
The position from which to start decoding. Note that the value passed points, in effect, to the content, by passing the header data.
|
KeyId()
IMPORT_C
TPtrC8
|
KeyId
|
(
|
)
|
const
|
Gets the key identifier value.
NewL(const TDesC8 &)
Creates a new
CX509AuthorityKeyIdExt
object from the specified buffer containing the binary coded representation.
Parameters
const
TDesC8
& aBinaryData
|
The encoded binary representation.
|
NewL(const TDesC8 &, TInt &)
Creates a new
CX509AuthorityKeyIdExt
object from the specified buffer containing the binary coded representation, starting at the specified offset.
Parameters
const
TDesC8
& aBinaryData
|
The encoded binary representation.
|
TInt
& aPos
|
The offset position from which to start decoding.
|
NewLC(const TDesC8 &)
Creates a new
CX509AuthorityKeyIdExt
object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
Parameters
const
TDesC8
& aBinaryData
|
The encoded binary representation.
|
NewLC(const TDesC8 &, TInt &)
Creates a new
CX509AuthorityKeyIdExt
object from the specified buffer containing the binary coded representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.
Parameters
const
TDesC8
& aBinaryData
|
The encoded binary representation.
|
TInt
& aPos
|
The offset position from which to start decoding.
|
Member Data Documentation
HBufC8 * iAuthorityCertSerialNumber
HBufC8
*
|
iAuthorityCertSerialNumber
|
[private]
|
CArrayPtrFlat< CX509GeneralName > * iAuthorityName
HBufC8 * iKeyIdentifier
HBufC8
*
|
iKeyIdentifier
|
[private]
|
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.