The PublicKeyInfo type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkEncode
Gets ASN.1 encoded form of this PublicKeyInfo object.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetDSAParameters
Gets the DSA parameters for a DSA public key. May only be used for DSA public keys.
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetKeyAlgorithm
Returns the key algorithm.
Public methodSupported by the .NET Compact FrameworkGetKeySize
Returns the size of the key in bits.
Public methodSupported by the .NET Compact FrameworkGetPublicKey Obsolete.
Public methodSupported by the .NET Compact FrameworkGetRSAParameters
Gets the RSA parameters for a RSA public key. May only be used for RSA public keys.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkLoad(Stream)
Loads a PKCS #8 public key from a stream. Upon successful decoding, information can be retrieved using PublicKeyInfo methods and properties.
Public methodSupported by the .NET Compact FrameworkLoad(String)
Loads a PKCS #8 public key from a file. Upon successful decoding, information can be retrieved using PublicKeyInfo methods and properties.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSave(Stream)
Saves the public key into the supplied stream in Base64-encoded PKCS #8 format.
Public methodSupported by the .NET Compact FrameworkSave(String)
Saves the public key into the supplied stream in Base64-encoded PKCS #8 format.
Public methodSupported by the .NET Compact FrameworkToBytes
Gets the raw form of the public key.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also