Interface X509v3ExtensionsObj

All Superinterfaces:
GenericValidation, SdoDefaultValidator, Serializable, StixCustomProperties
All Known Implementing Classes:
X509v3Extensions

@Immutable @BusinessRule(ifExp="true", thenExp="getBasicConstraints().isPresent() == true || getNameConstraints().isPresent() == true || getPolicyConstraints().isPresent() == true || getKeyUsage().isPresent() == true || getExtendedKeyUsage().isPresent() == true || getSubjectKeyIdentifier().isPresent() == true || getAuthorityKeyIdentifier().isPresent() == true || getSubjectAlternativeName().isPresent() == true || getIssuerAlternativeName().isPresent() == true || getSubjectDirectoryAttributes().isPresent() == true || getCrlDistributionPoints().isPresent() == true || getInhibitAnyPolicy().isPresent() == true || getPrivateKeyUsagePeriodNotBefore().isPresent() == true || getPrivateKeyUsagePeriodNotAfter().isPresent() == true || getCertificatePolicies().isPresent() == true || getPolicyMappings().isPresent() == true", errorMessage="At least 1 property must be provided") public interface X509v3ExtensionsObj extends GenericValidation, StixCustomProperties, Serializable
x509-certificate

The X509 Certificate Object represents the properties of an X.509 certificate. Note that the X.509 v3 Extensions type is not a STIX Cyber Observables extension, it is a type that describes X.509 extensions.

  • Method Details

    • getBasicConstraints

      @JsonPropertyDescription("Specifies a multi-valued extension which indicates whether a certificate is a CA certificate.") Optional<String> getBasicConstraints()
    • getNameConstraints

      @JsonPropertyDescription("Specifies a namespace within which all subject names in subsequent certificates in a certification path MUST be located.") Optional<String> getNameConstraints()
    • getPolicyConstraints

      @JsonPropertyDescription("Specifies any constraints on path validation for certificates issued to CAs.") Optional<String> getPolicyConstraints()
    • getKeyUsage

      @JsonPropertyDescription("Specifies a multi-valued extension consisting of a list of names of the permitted key usages.") Optional<String> getKeyUsage()
    • getExtendedKeyUsage

      @JsonPropertyDescription("Specifies a list of usages indicating purposes for which the certificate public key can be used for.") Optional<String> getExtendedKeyUsage()
    • getSubjectKeyIdentifier

      @JsonPropertyDescription("Specifies the identifier that provides a means of identifying certificates that contain a particular public key.") Optional<String> getSubjectKeyIdentifier()
    • getAuthorityKeyIdentifier

      @JsonPropertyDescription("Specifies the identifier that provides a means of identifying the public key corresponding to the key used to sign a certificate.") Optional<String> getAuthorityKeyIdentifier()
    • getSubjectAlternativeName

      @JsonPropertyDescription("Specifies the additional identities to be bound to the subject of the certificate.") Optional<String> getSubjectAlternativeName()
    • getIssuerAlternativeName

      @JsonPropertyDescription("Specifies the additional identities to be bound to the issuer of the certificate.") Optional<String> getIssuerAlternativeName()
    • getSubjectDirectoryAttributes

      @JsonPropertyDescription("Specifies the identification attributes (e.g., nationality) of the subject.") Optional<String> getSubjectDirectoryAttributes()
    • getCrlDistributionPoints

      @JsonPropertyDescription("Specifies how CRL information is obtained.") Optional<String> getCrlDistributionPoints()
    • getInhibitAnyPolicy

      @JsonPropertyDescription("Specifies the number of additional certificates that may appear in the path before anyPolicy is no longer permitted.") Optional<String> getInhibitAnyPolicy()
    • getPrivateKeyUsagePeriodNotBefore

      @JsonPropertyDescription("Specifies the date on which the validity period begins for the key, if it is different from the validity period of the certificate.") Optional<StixInstant> getPrivateKeyUsagePeriodNotBefore()
    • getPrivateKeyUsagePeriodNotAfter

      @JsonPropertyDescription("Specifies the date on which the validity period ends for the key, if it is different from the validity period of the certificate.") Optional<StixInstant> getPrivateKeyUsagePeriodNotAfter()
    • getCertificatePolicies

      @JsonPropertyDescription("Specifies a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.") Optional<String> getCertificatePolicies()
    • getPolicyMappings

      @JsonPropertyDescription("Specifies one or more pairs of OIDs(); each pair includes an issuerDomainPolicy and a subjectDomainPolicy") Optional<String> getPolicyMappings()