Module Implementation: OpenSSLCryptoInterfaceX509Note: Internal classes are italicized and will only contain a short description.aStringOrByteArray - data in <String> or <ByteArray> formRead the X509 from a DER or PEM encoded data. If the data is password protected, then aPassword will be a String. If not password is required, then aPassword will be nil.aStringOrByteArray - data in <String> or <ByteArray> formaPassword - Optional password <String>. Could be nil for no passwd.aFilename - full path name to fileRead X509 from a DER or PEM encoded file with full path name aFilename. If the data is password protected, then aPassword will be a String. If not password is required, then aPassword will be nil.aFilename - full path name to fileaPassword - Optional password <String>. Could be nil for no passwd.anX509NameOrString - <OSSslX509Name | String>aAsn1TimeOrDateAndTime - <OSSslAsn1Time | DateAndTime>aAsn1TimeOrDateAndTime - <OSSslAsn1Time | DateAndTime>anOSSslPKey - <OSSslPKey>Set the serial number given anAsn1IntegerOrIntegeranAsn1IntegerOrInteger - < OSSslAsn1Integer | Integer >Set the subject given anX509NameOrString.anX509NameOrString - <OSSslX509Name | String>Set the version number given anAsn1IntegerOrInteger.anAsn1IntegerOrInteger - < OSSslAsn1Integer | Integer >checkPrivateKey: anOSSslPKeyChecks to see if the private key anOSSslPKey is the one corresponding to this certificate.anOSSslPKey - <OSSslPKey>anOSSslDigest - Message digest <OSSslDigest> used to hash the dataanOSSslPKey - Private key <OSSslPKey> used to sign the digestanOSSslDigest - Message digest <OSSslDigest> used to hash the dataVerify using the key anOSSslPKey.Write the X509 in DER format to aStreamOrBIO. This allows Smalltalk stream to be used as well.aStreamOrBIO - <WriteStream or compatible | OSSslBIO>Write the X509 in PEM format to aStreamOrBIO. This allows Smalltalk stream to be used as well.aStreamOrBIO - <WriteStream or compatible | OSSslBIO>Create a new X509 Name instance from the provided aString. If aString is not a String, then an error object is returned. If aString is empty, then an empty X509 cert is returned.<String> - aStringAdd a registered entry to the x509Name. If anIntegerOrString is an <Integer>, then this is assumed to be the nid of the registered entry. If anIntegerOrString is a <String>, then this is assumed to be the textual name of the registered entry.Get the registered entry in the x509Name by nid <Integer> or textual name <String>. If anIntegerOrString is an <Integer>, then this is assumed to be the nid of the registered entry. If anIntegerOrString is a <String>, then this is assumed to be the textual name of the registered entry.Answer true if anIntegerOrString entry is present.Answers the index (0-Based) matching the nid associated with anIntegerOrString. If there are no more entires, -1 is returned. If the nid associated with anIntegerOrString is invalid, then an error object is returned.anIntegerOrString - <Integer> nid OR <String> name that can be mapped to nidlastPos should initially be set to -1. If there are no more entires, -1 is returned. If the nid associated with anIntegerOrString is invalid, then an error object is returned.anIntegerOrString - <Integer> nid OR <String> name that can be mapped to nidlastPos - <Integer> lastPosition...so start one index after thisAdd the entries from the formatted string aString into this name object.Example: aString = '/C=JP/O=example/CN=www.example.jp'
|