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.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface security.whisper.javastix.validation.GenericValidation
validateEntityMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomProperties
-
Method Details
-
getBasicConstraints
-
getNameConstraints
-
getPolicyConstraints
-
getKeyUsage
-
getExtendedKeyUsage
-
getSubjectKeyIdentifier
-
getAuthorityKeyIdentifier
-
getSubjectAlternativeName
-
getIssuerAlternativeName
-
getSubjectDirectoryAttributes
-
getCrlDistributionPoints
-
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
-
getPolicyMappings
-