Object

com.karasiq.tls.x509

X509Utils

Related Doc: package x509

Permalink

object X509Utils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. X509Utils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def alternativeNameOf(certificate: Certificate, nameId: Int): Option[ASN1Encodable]

    Permalink

    Reads specified subject alternative name (SAN) from certificate

    Reads specified subject alternative name (SAN) from certificate

    certificate

    X509 certificate

    nameId

    Alternative name ID

    returns

    Alternative name, or None if no extension present

  5. def alternativeNamesOf(certificate: Certificate): Option[GeneralNames]

    Permalink

    Reads subject alternative names (SANs) from certificate

    Reads subject alternative names (SANs) from certificate

    certificate

    X509 certificate

    returns

    Alternative names, or None if no extension present

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def defaultEllipticCurve(): ECParameterSpec

    Permalink
  9. def defaultExpire(): Instant

    Permalink
  10. def defaultKeySize(algorithm: String = "RSA"): Int

    Permalink
  11. def defaultSignatureHash(): String

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def expireDays(days: Int): Instant

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getCrlDistributionUrls(certificate: Certificate): Seq[String]

    Permalink
  18. def getIssuerUrl(certificate: Certificate): Option[String]

    Permalink
  19. def getOcspUrl(certificate: Certificate): Option[String]

    Permalink
  20. def getPathLengthConstraint(certificate: Certificate): Option[Int]

    Permalink

    Returns chain path length constraint of CA certificate

    Returns chain path length constraint of CA certificate

    certificate

    X509 certificate

    returns

    Path length constraint, or None if no extension present

  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def isCertificationAuthority(certificate: Certificate): Boolean

    Permalink

    Ensures that certificate usage as CA is allowed

    Ensures that certificate usage as CA is allowed

    certificate

    X509 certificate

    returns

    Check result, or true if no extension present

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isKeyUsageAllowed(certificate: Certificate, keyUsage: Int): Boolean

    Permalink

    Ensures that specified key usages allowed

    Ensures that specified key usages allowed

    certificate

    X509 certificate

    keyUsage

    Key usages

    returns

    Check result, or true if no extension present

  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def subject(commonName: String, country: String = null, state: String = null, locality: String = null, organization: String = null, organizationUnit: String = null, email: String = null): X500Name

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def verifyAuthorityIdentifier(certificate: Certificate, issuer: Certificate): Option[Boolean]

    Permalink

    Compares issuer key identifier extension data with the actual issuer certificate

    Compares issuer key identifier extension data with the actual issuer certificate

    certificate

    Certificate

    issuer

    Issuer certificate

    returns

    Check result, or None if no extension present

  32. def verifyPublicKeyIdentifier(certificate: Certificate, publicKey: SubjectPublicKeyInfo): Option[Boolean]

    Permalink

    Compares subject public key identifier extension data with the actual public key

    Compares subject public key identifier extension data with the actual public key

    certificate

    Certificate

    publicKey

    Public key info

    returns

    Check result, or None if no extension present

  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped