Class: RASN1::Model
- Inherits:
-
Object
- Object
- RASN1::Model
- Defined in:
- lib/rex/proto/crypto_asn1/types.rb
Direct Known Subclasses
Rex::Proto::CryptoAsn1::EnrollmentNameValuePair, Rex::Proto::CryptoAsn1::NtdsCaSecurityExt, Rex::Proto::CryptoAsn1::NtdsCaSecurityExt::OtherName, Rex::Proto::CryptoAsn1::X509::AdministrationDomainName, Rex::Proto::CryptoAsn1::X509::AttributeTypeAndValue, Rex::Proto::CryptoAsn1::X509::BuiltInDomainDefinedAttributes, Rex::Proto::CryptoAsn1::X509::BuiltInStandardAttributes, Rex::Proto::CryptoAsn1::X509::BuiltinDomainDefinedAttribute, Rex::Proto::CryptoAsn1::X509::CertificatePolicies, Rex::Proto::CryptoAsn1::X509::CountryName, Rex::Proto::CryptoAsn1::X509::DirectoryString, Rex::Proto::CryptoAsn1::X509::EDIPartyName, Rex::Proto::CryptoAsn1::X509::ExtensionAttribute, Rex::Proto::CryptoAsn1::X509::ExtensionAttributes, Rex::Proto::CryptoAsn1::X509::GeneralName, Rex::Proto::CryptoAsn1::X509::GeneralNames, Rex::Proto::CryptoAsn1::X509::Name, Rex::Proto::CryptoAsn1::X509::NumericUserIdentifier, Rex::Proto::CryptoAsn1::X509::ORAddress, Rex::Proto::CryptoAsn1::X509::OrganizationName, Rex::Proto::CryptoAsn1::X509::OrganizationalUnitNames, Rex::Proto::CryptoAsn1::X509::OtherName, Rex::Proto::CryptoAsn1::X509::PersonalName, Rex::Proto::CryptoAsn1::X509::PolicyInformation, Rex::Proto::CryptoAsn1::X509::PolicyQualifierInfo, Rex::Proto::CryptoAsn1::X509::PrivateDomainName, Rex::Proto::CryptoAsn1::X509::RDNSequence, Rex::Proto::CryptoAsn1::X509::RelativeDistinguishedName, Rex::Proto::CryptoAsn1::X509::TerminalIdentifier, Rex::Proto::CryptoAsn1::X509::X121Address, Rex::Proto::Gss::SpnegoNegTokenTarg, Rex::Proto::Kerberos::Model::Pkinit::AlgorithmIdentifier, Rex::Proto::Kerberos::Model::Pkinit::Attribute, Rex::Proto::Kerberos::Model::Pkinit::AttributeTypeAndValue, Rex::Proto::Kerberos::Model::Pkinit::AuthPack, Rex::Proto::Kerberos::Model::Pkinit::ContentInfo, Rex::Proto::Kerberos::Model::Pkinit::DomainParameters, Rex::Proto::Kerberos::Model::Pkinit::EncapsulatedContentInfo, Rex::Proto::Kerberos::Model::Pkinit::IssuerAndSerialNumber, Rex::Proto::Kerberos::Model::Pkinit::KdcDhKeyInfo, Rex::Proto::Kerberos::Model::Pkinit::PkAuthenticator, Rex::Proto::Kerberos::Model::Pkinit::SignedData, Rex::Proto::Kerberos::Model::Pkinit::SignerInfo, Rex::Proto::Kerberos::Model::Pkinit::SubjectPublicKeyInfo, Rex::Proto::Kerberos::Model::PreAuthPkAsRep, Rex::Proto::Kerberos::Model::PreAuthPkAsReq
Class Method Summary collapse
- .bmp_string(name, options = {}) ⇒ Object
- .teletex_string(name, options = {}) ⇒ Object
- .universal_string(name, options = {}) ⇒ Object
Class Method Details
.bmp_string(name, options = {}) ⇒ Object
6 7 8 |
# File 'lib/rex/proto/crypto_asn1/types.rb', line 6 def self.bmp_string(name, = {}) custom_primitive_type_for(name, RASN1::Types::BmpString, ) end |
.teletex_string(name, options = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/rex/proto/crypto_asn1/types.rb', line 10 def self.teletex_string(name, = {}) strict_encoding = .fetch(:strict_encoding, true) .delete(:strict_encoding) if strict_encoding raise NotImplementedError.new('The ITU T.61 codec is not available.') custom_primitive_type_for(name, TeletexString, ) else custom_primitive_type_for(name, TeletexString::Permissive, ) end end |
.universal_string(name, options = {}) ⇒ Object
23 24 25 |
# File 'lib/rex/proto/crypto_asn1/types.rb', line 23 def self.universal_string(name, = {}) custom_primitive_type_for(name, UniversalString, ) end |