mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-24 23:58:29 +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>
|
||||
* @access public
|
||||
*/
|
||||
class Random
|
||||
abstract class Random
|
||||
{
|
||||
/**
|
||||
* Generate a random string.
|
||||
|
@ -34,7 +34,7 @@ use phpseclib\Math\BigInteger;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class ASN1
|
||||
abstract class ASN1
|
||||
{
|
||||
/**#@+
|
||||
* Tag Classes
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AccessDescription
|
||||
abstract class AccessDescription
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AdministrationDomainName
|
||||
abstract class AdministrationDomainName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AlgorithmIdentifier
|
||||
abstract class AlgorithmIdentifier
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AnotherName
|
||||
abstract class AnotherName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Attribute
|
||||
abstract class Attribute
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AttributeType
|
||||
abstract class AttributeType
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AttributeTypeAndValue
|
||||
abstract class AttributeTypeAndValue
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AttributeValue
|
||||
abstract class AttributeValue
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_ANY];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Attributes
|
||||
abstract class Attributes
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SET,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AuthorityInfoAccessSyntax
|
||||
abstract class AuthorityInfoAccessSyntax
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class AuthorityKeyIdentifier
|
||||
abstract class AuthorityKeyIdentifier
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class BaseDistance
|
||||
abstract class BaseDistance
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class BasicConstraints
|
||||
abstract class BasicConstraints
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class BuiltInDomainDefinedAttribute
|
||||
abstract class BuiltInDomainDefinedAttribute
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class BuiltInDomainDefinedAttributes
|
||||
abstract class BuiltInDomainDefinedAttributes
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class BuiltInStandardAttributes
|
||||
abstract class BuiltInStandardAttributes
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CPSuri
|
||||
abstract class CPSuri
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_IA5_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CRLDistributionPoints
|
||||
abstract class CRLDistributionPoints
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CRLNumber
|
||||
abstract class CRLNumber
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CRLReason
|
||||
abstract class CRLReason
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_ENUMERATED,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CertPolicyId
|
||||
abstract class CertPolicyId
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Certificate
|
||||
abstract class Certificate
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CertificateIssuer
|
||||
abstract class CertificateIssuer
|
||||
{
|
||||
const MAP = GeneralNames::MAP;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CertificateList
|
||||
abstract class CertificateList
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CertificatePolicies
|
||||
abstract class CertificatePolicies
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CertificateSerialNumber
|
||||
abstract class CertificateSerialNumber
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_INTEGER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CertificationRequest
|
||||
abstract class CertificationRequest
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CertificationRequestInfo
|
||||
abstract class CertificationRequestInfo
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class CountryName
|
||||
abstract class CountryName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class DigestInfo
|
||||
abstract class DigestInfo
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class DirectoryString
|
||||
abstract class DirectoryString
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class DisplayText
|
||||
abstract class DisplayText
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class DistributionPoint
|
||||
abstract class DistributionPoint
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class DistributionPointName
|
||||
abstract class DistributionPointName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class EDIPartyName
|
||||
abstract class EDIPartyName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class EncryptedData
|
||||
abstract class EncryptedData
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class EncryptedPrivateKeyInfo
|
||||
abstract class EncryptedPrivateKeyInfo
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class ExtKeyUsageSyntax
|
||||
abstract class ExtKeyUsageSyntax
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -30,7 +30,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Extension
|
||||
abstract class Extension
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class ExtensionAttribute
|
||||
abstract class ExtensionAttribute
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class ExtensionAttributes
|
||||
abstract class ExtensionAttributes
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SET,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Extensions
|
||||
abstract class Extensions
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class GeneralName
|
||||
abstract class GeneralName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class GeneralNames
|
||||
abstract class GeneralNames
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class GeneralSubtree
|
||||
abstract class GeneralSubtree
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class GeneralSubtrees
|
||||
abstract class GeneralSubtrees
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class HoldInstructionCode
|
||||
abstract class HoldInstructionCode
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class InvalidityDate
|
||||
abstract class InvalidityDate
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_GENERALIZED_TIME];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class IssuerAltName
|
||||
abstract class IssuerAltName
|
||||
{
|
||||
const MAP = GeneralNames::MAP;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class IssuingDistributionPoint
|
||||
abstract class IssuingDistributionPoint
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class KeyIdentifier
|
||||
abstract class KeyIdentifier
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class KeyPurposeId
|
||||
abstract class KeyPurposeId
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class KeyUsage
|
||||
abstract class KeyUsage
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_BIT_STRING,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Name
|
||||
abstract class Name
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class NameConstraints
|
||||
abstract class NameConstraints
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class NetworkAddress
|
||||
abstract class NetworkAddress
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class NoticeReference
|
||||
abstract class NoticeReference
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class NumericUserIdentifier
|
||||
abstract class NumericUserIdentifier
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class ORAddress
|
||||
abstract class ORAddress
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class OrganizationName
|
||||
abstract class OrganizationName
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class OrganizationalUnitNames
|
||||
abstract class OrganizationalUnitNames
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class OtherPrimeInfo
|
||||
abstract class OtherPrimeInfo
|
||||
{
|
||||
// version must be multi if otherPrimeInfos present
|
||||
const MAP = [
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class OtherPrimeInfos
|
||||
abstract class OtherPrimeInfos
|
||||
{
|
||||
// version must be multi if otherPrimeInfos present
|
||||
const MAP = [
|
||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PBEParameter
|
||||
abstract class PBEParameter
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PBES2params
|
||||
abstract class PBES2params
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PBKDF2params
|
||||
abstract class PBKDF2params
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PBMAC1params
|
||||
abstract class PBMAC1params
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PKCS9String
|
||||
abstract class PKCS9String
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PersonalName
|
||||
abstract class PersonalName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SET,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PolicyInformation
|
||||
abstract class PolicyInformation
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PolicyMappings
|
||||
abstract class PolicyMappings
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PolicyQualifierId
|
||||
abstract class PolicyQualifierId
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PolicyQualifierInfo
|
||||
abstract class PolicyQualifierInfo
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PostalAddress
|
||||
abstract class PostalAddress
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PrivateDomainName
|
||||
abstract class PrivateDomainName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PrivateKey
|
||||
abstract class PrivateKey
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_OCTET_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PrivateKeyInfo
|
||||
abstract class PrivateKeyInfo
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PrivateKeyUsagePeriod
|
||||
abstract class PrivateKeyUsagePeriod
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PublicKeyAndChallenge
|
||||
abstract class PublicKeyAndChallenge
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -27,7 +27,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class PublicKeyInfo
|
||||
abstract class PublicKeyInfo
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -26,7 +26,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class RC2CBCParameter
|
||||
abstract class RC2CBCParameter
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -30,7 +30,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class RDNSequence
|
||||
abstract class RDNSequence
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class RSAPrivateKey
|
||||
abstract class RSAPrivateKey
|
||||
{
|
||||
// version must be multi if otherPrimeInfos present
|
||||
const MAP = [
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class RSAPublicKey
|
||||
abstract class RSAPublicKey
|
||||
{
|
||||
// version must be multi if otherPrimeInfos present
|
||||
const MAP = [
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class ReasonFlags
|
||||
abstract class ReasonFlags
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_BIT_STRING,
|
||||
|
@ -30,7 +30,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class RelativeDistinguishedName
|
||||
abstract class RelativeDistinguishedName
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SET,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class RevokedCertificate
|
||||
abstract class RevokedCertificate
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class SignedPublicKeyAndChallenge
|
||||
abstract class SignedPublicKeyAndChallenge
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class SubjectAltName
|
||||
abstract class SubjectAltName
|
||||
{
|
||||
const MAP = GeneralNames::MAP;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class SubjectDirectoryAttributes
|
||||
abstract class SubjectDirectoryAttributes
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class SubjectPublicKeyInfo
|
||||
abstract class SubjectPublicKeyInfo
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class TBSCertList
|
||||
abstract class TBSCertList
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class TBSCertificate
|
||||
abstract class TBSCertificate
|
||||
{
|
||||
// assert($TBSCertificate['children']['signature'] == $Certificate['children']['signatureAlgorithm'])
|
||||
const MAP = [
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class TerminalIdentifier
|
||||
abstract class TerminalIdentifier
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Time
|
||||
abstract class Time
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_CHOICE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class UniqueIdentifier
|
||||
abstract class UniqueIdentifier
|
||||
{
|
||||
const MAP = ['type' => ASN1::TYPE_BIT_STRING];
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class UserNotice
|
||||
abstract class UserNotice
|
||||
{
|
||||
const MAP = [
|
||||
'type' => ASN1::TYPE_SEQUENCE,
|
||||
|
@ -24,7 +24,7 @@ use phpseclib\File\ASN1;
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @access public
|
||||
*/
|
||||
class Validity
|
||||
abstract class Validity
|
||||
{
|
||||
const MAP = [
|
||||
'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