mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-27 00:58:25 +00:00
make classes with only static methods abstract
This commit is contained in:
parent
a4d05f8445
commit
7182ec393b
@ -33,7 +33,7 @@ use phpseclib\Crypt\Common\BlockCipher;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Random
|
abstract class Random
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Generate a random string.
|
* Generate a random string.
|
||||||
|
@ -34,7 +34,7 @@ use phpseclib\Math\BigInteger;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class ASN1
|
abstract class ASN1
|
||||||
{
|
{
|
||||||
/**#@+
|
/**#@+
|
||||||
* Tag Classes
|
* Tag Classes
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AccessDescription
|
abstract class AccessDescription
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AdministrationDomainName
|
abstract class AdministrationDomainName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AlgorithmIdentifier
|
abstract class AlgorithmIdentifier
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AnotherName
|
abstract class AnotherName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Attribute
|
abstract class Attribute
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AttributeType
|
abstract class AttributeType
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AttributeTypeAndValue
|
abstract class AttributeTypeAndValue
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AttributeValue
|
abstract class AttributeValue
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_ANY];
|
const MAP = ['type' => ASN1::TYPE_ANY];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Attributes
|
abstract class Attributes
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SET,
|
'type' => ASN1::TYPE_SET,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AuthorityInfoAccessSyntax
|
abstract class AuthorityInfoAccessSyntax
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class AuthorityKeyIdentifier
|
abstract class AuthorityKeyIdentifier
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class BaseDistance
|
abstract class BaseDistance
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class BasicConstraints
|
abstract class BasicConstraints
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class BuiltInDomainDefinedAttribute
|
abstract class BuiltInDomainDefinedAttribute
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class BuiltInDomainDefinedAttributes
|
abstract class BuiltInDomainDefinedAttributes
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class BuiltInStandardAttributes
|
abstract class BuiltInStandardAttributes
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CPSuri
|
abstract class CPSuri
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_IA5_STRING];
|
const MAP = ['type' => ASN1::TYPE_IA5_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CRLDistributionPoints
|
abstract class CRLDistributionPoints
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CRLNumber
|
abstract class CRLNumber
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CRLReason
|
abstract class CRLReason
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_ENUMERATED,
|
'type' => ASN1::TYPE_ENUMERATED,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CertPolicyId
|
abstract class CertPolicyId
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Certificate
|
abstract class Certificate
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CertificateIssuer
|
abstract class CertificateIssuer
|
||||||
{
|
{
|
||||||
const MAP = GeneralNames::MAP;
|
const MAP = GeneralNames::MAP;
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CertificateList
|
abstract class CertificateList
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CertificatePolicies
|
abstract class CertificatePolicies
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CertificateSerialNumber
|
abstract class CertificateSerialNumber
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CertificationRequest
|
abstract class CertificationRequest
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CertificationRequestInfo
|
abstract class CertificationRequestInfo
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class CountryName
|
abstract class CountryName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class DigestInfo
|
abstract class DigestInfo
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class DirectoryString
|
abstract class DirectoryString
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class DisplayText
|
abstract class DisplayText
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class DistributionPoint
|
abstract class DistributionPoint
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class DistributionPointName
|
abstract class DistributionPointName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class EDIPartyName
|
abstract class EDIPartyName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class EncryptedData
|
abstract class EncryptedData
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class EncryptedPrivateKeyInfo
|
abstract class EncryptedPrivateKeyInfo
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class ExtKeyUsageSyntax
|
abstract class ExtKeyUsageSyntax
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -30,7 +30,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Extension
|
abstract class Extension
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class ExtensionAttribute
|
abstract class ExtensionAttribute
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class ExtensionAttributes
|
abstract class ExtensionAttributes
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SET,
|
'type' => ASN1::TYPE_SET,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Extensions
|
abstract class Extensions
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class GeneralName
|
abstract class GeneralName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class GeneralNames
|
abstract class GeneralNames
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class GeneralSubtree
|
abstract class GeneralSubtree
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class GeneralSubtrees
|
abstract class GeneralSubtrees
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class HoldInstructionCode
|
abstract class HoldInstructionCode
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class InvalidityDate
|
abstract class InvalidityDate
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_GENERALIZED_TIME];
|
const MAP = ['type' => ASN1::TYPE_GENERALIZED_TIME];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class IssuerAltName
|
abstract class IssuerAltName
|
||||||
{
|
{
|
||||||
const MAP = GeneralNames::MAP;
|
const MAP = GeneralNames::MAP;
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class IssuingDistributionPoint
|
abstract class IssuingDistributionPoint
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class KeyIdentifier
|
abstract class KeyIdentifier
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class KeyPurposeId
|
abstract class KeyPurposeId
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class KeyUsage
|
abstract class KeyUsage
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_BIT_STRING,
|
'type' => ASN1::TYPE_BIT_STRING,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Name
|
abstract class Name
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class NameConstraints
|
abstract class NameConstraints
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class NetworkAddress
|
abstract class NetworkAddress
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING];
|
const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class NoticeReference
|
abstract class NoticeReference
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class NumericUserIdentifier
|
abstract class NumericUserIdentifier
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING];
|
const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class ORAddress
|
abstract class ORAddress
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class OrganizationName
|
abstract class OrganizationName
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING];
|
const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class OrganizationalUnitNames
|
abstract class OrganizationalUnitNames
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class OtherPrimeInfo
|
abstract class OtherPrimeInfo
|
||||||
{
|
{
|
||||||
// version must be multi if otherPrimeInfos present
|
// version must be multi if otherPrimeInfos present
|
||||||
const MAP = [
|
const MAP = [
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class OtherPrimeInfos
|
abstract class OtherPrimeInfos
|
||||||
{
|
{
|
||||||
// version must be multi if otherPrimeInfos present
|
// version must be multi if otherPrimeInfos present
|
||||||
const MAP = [
|
const MAP = [
|
||||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PBEParameter
|
abstract class PBEParameter
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PBES2params
|
abstract class PBES2params
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PBKDF2params
|
abstract class PBKDF2params
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PBMAC1params
|
abstract class PBMAC1params
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PKCS9String
|
abstract class PKCS9String
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PersonalName
|
abstract class PersonalName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SET,
|
'type' => ASN1::TYPE_SET,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PolicyInformation
|
abstract class PolicyInformation
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PolicyMappings
|
abstract class PolicyMappings
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PolicyQualifierId
|
abstract class PolicyQualifierId
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PolicyQualifierInfo
|
abstract class PolicyQualifierInfo
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PostalAddress
|
abstract class PostalAddress
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PrivateDomainName
|
abstract class PrivateDomainName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PrivateKey
|
abstract class PrivateKey
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PrivateKeyInfo
|
abstract class PrivateKeyInfo
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PrivateKeyUsagePeriod
|
abstract class PrivateKeyUsagePeriod
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PublicKeyAndChallenge
|
abstract class PublicKeyAndChallenge
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -27,7 +27,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class PublicKeyInfo
|
abstract class PublicKeyInfo
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class RC2CBCParameter
|
abstract class RC2CBCParameter
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -30,7 +30,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class RDNSequence
|
abstract class RDNSequence
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class RSAPrivateKey
|
abstract class RSAPrivateKey
|
||||||
{
|
{
|
||||||
// version must be multi if otherPrimeInfos present
|
// version must be multi if otherPrimeInfos present
|
||||||
const MAP = [
|
const MAP = [
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class RSAPublicKey
|
abstract class RSAPublicKey
|
||||||
{
|
{
|
||||||
// version must be multi if otherPrimeInfos present
|
// version must be multi if otherPrimeInfos present
|
||||||
const MAP = [
|
const MAP = [
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class ReasonFlags
|
abstract class ReasonFlags
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_BIT_STRING,
|
'type' => ASN1::TYPE_BIT_STRING,
|
||||||
|
@ -30,7 +30,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class RelativeDistinguishedName
|
abstract class RelativeDistinguishedName
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SET,
|
'type' => ASN1::TYPE_SET,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class RevokedCertificate
|
abstract class RevokedCertificate
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class SignedPublicKeyAndChallenge
|
abstract class SignedPublicKeyAndChallenge
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class SubjectAltName
|
abstract class SubjectAltName
|
||||||
{
|
{
|
||||||
const MAP = GeneralNames::MAP;
|
const MAP = GeneralNames::MAP;
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class SubjectDirectoryAttributes
|
abstract class SubjectDirectoryAttributes
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class SubjectPublicKeyInfo
|
abstract class SubjectPublicKeyInfo
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class TBSCertList
|
abstract class TBSCertList
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class TBSCertificate
|
abstract class TBSCertificate
|
||||||
{
|
{
|
||||||
// assert($TBSCertificate['children']['signature'] == $Certificate['children']['signatureAlgorithm'])
|
// assert($TBSCertificate['children']['signature'] == $Certificate['children']['signatureAlgorithm'])
|
||||||
const MAP = [
|
const MAP = [
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class TerminalIdentifier
|
abstract class TerminalIdentifier
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING];
|
const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Time
|
abstract class Time
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_CHOICE,
|
'type' => ASN1::TYPE_CHOICE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class UniqueIdentifier
|
abstract class UniqueIdentifier
|
||||||
{
|
{
|
||||||
const MAP = ['type' => ASN1::TYPE_BIT_STRING];
|
const MAP = ['type' => ASN1::TYPE_BIT_STRING];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class UserNotice
|
abstract class UserNotice
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
|||||||
* @author Jim Wigginton <terrafrost@php.net>
|
* @author Jim Wigginton <terrafrost@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class Validity
|
abstract class Validity
|
||||||
{
|
{
|
||||||
const MAP = [
|
const MAP = [
|
||||||
'type' => ASN1::TYPE_SEQUENCE,
|
'type' => ASN1::TYPE_SEQUENCE,
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user