pub enum CertType {
}
Expand description
RFC 4398, Storing Certificates in DNS, November 1987
[2.1](https://datatracker.ietf.org/doc/html/rfc4398#section-2.1). Certificate Type Values
The following values are defined or reserved:
Value Mnemonic Certificate Type
----- -------- ----------------
0 Reserved
1 PKIX X.509 as per PKIX
2 SPKI SPKI certificate
3 PGP OpenPGP packet
4 IPKIX The URL of an X.509 data object
5 ISPKI The URL of an SPKI certificate
6 IPGP The fingerprint and URL of an OpenPGP packet
7 ACPKIX Attribute Certificate
8 IACPKIX The URL of an Attribute Certificate
9-252 Available for IANA assignment
253 URI URI private
254 OID OID private
255 Reserved
256-65279 Available for IANA assignment
65280-65534 Experimental
65535 Reserved
Variants§
Reserved
0, 255, 65535 Reserved
PKIX
1 PKIX X.509 as per PKIX
SPKI
2 SPKI SPKI certificate
PGP
3 PGP OpenPGP packet
IPKIX
4 IPKIX The URL of an X.509 data object
ISPKI
5 ISPKI The URL of an SPKI certificate
IPGP
6 IPGP The fingerprint and URL of an OpenPGP packet
ACPKIX
7 ACPKIX Attribute Certificate
IACPKIX
8 IACPKIX The URL of an Attribute Certificate
URI
253 URI URI private
OID
254 OID OID private
Unassigned(u16)
9-252, 256-65279 Available for IANA assignment
Experimental(u16)
65280-65534 Experimental
Trait Implementations§
Source§impl<'r> BinDecodable<'r> for CertType
impl<'r> BinDecodable<'r> for CertType
Source§fn read(decoder: &mut BinDecoder<'r>) -> Result<Self, ProtoError>
fn read(decoder: &mut BinDecoder<'r>) -> Result<Self, ProtoError>
Read the type from the stream
Source§fn from_bytes(bytes: &'r [u8]) -> Result<Self, ProtoError>
fn from_bytes(bytes: &'r [u8]) -> Result<Self, ProtoError>
Returns the object in binary form
impl Copy for CertType
impl Eq for CertType
impl StructuralPartialEq for CertType
Auto Trait Implementations§
impl Freeze for CertType
impl RefUnwindSafe for CertType
impl Send for CertType
impl Sync for CertType
impl Unpin for CertType
impl UnwindSafe for CertType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.