The SubjectPublicKeyInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SubjectPublicKeyInfo()()()() | Obsolete. | |
SubjectPublicKeyInfo(DSAParameters) | Obsolete. | |
SubjectPublicKeyInfo(RSAParameters) | Obsolete. |
Methods
Name | Description | |
---|---|---|
Encode |
Gets ASN.1 encoded form of this PublicKeyInfo object.
(Inherited from PublicKeyInfo.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetDSAParameters |
Gets the DSA parameters for a DSA public key. May only be used for DSA public keys.
(Inherited from PublicKeyInfo.) | |
GetHashCode | 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.) | |
GetKeyAlgorithm |
Returns the key algorithm.
(Inherited from PublicKeyInfo.) | |
GetKeySize |
Returns the size of the key in bits.
(Inherited from PublicKeyInfo.) | |
GetPublicKey | Obsolete. (Inherited from PublicKeyInfo.) | |
GetRSAParameters |
Gets the RSA parameters for a RSA public key. May only be used for RSA public keys.
(Inherited from PublicKeyInfo.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load(Stream) |
Loads a PKCS #8 public key from a stream.
Upon successful decoding, information can be retrieved using PublicKeyInfo
methods and properties.
(Inherited from PublicKeyInfo.) | |
Load(String) |
Loads a PKCS #8 public key from a file.
Upon successful decoding, information can be retrieved using PublicKeyInfo
methods and properties.
(Inherited from PublicKeyInfo.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save(Stream) |
Saves the public key into the supplied stream in Base64-encoded PKCS #8 format.
(Inherited from PublicKeyInfo.) | |
Save(String) |
Saves the public key into the supplied stream in Base64-encoded PKCS #8 format.
(Inherited from PublicKeyInfo.) | |
ToBytes |
Gets the raw form of the public key.
(Inherited from PublicKeyInfo.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
KeyAlgorithm |
Gets the key algorithm identifier.
(Inherited from PublicKeyInfo.) |