All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bugvm.apple.security.SSLErrorCode Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2013-2015 RoboVM AB
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bugvm.apple.security;

/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.corefoundation.*;
import com.bugvm.apple.dispatch.*;
/**/

/**/

/**/
/**//**/
public enum /**/SSLErrorCode/**/ implements ValuedEnum {
    /**/
    Protocol(-9800L),
    Negotiation(-9801L),
    FatalAlert(-9802L),
    WouldBlock(-9803L),
    SessionNotFound(-9804L),
    ClosedGraceful(-9805L),
    ClosedAbort(-9806L),
    XCertChainInvalid(-9807L),
    BadCert(-9808L),
    Crypto(-9809L),
    Internal(-9810L),
    ModuleAttach(-9811L),
    UnknownRootCert(-9812L),
    NoRootCert(-9813L),
    CertExpired(-9814L),
    CertNotYetValid(-9815L),
    ClosedNoNotify(-9816L),
    BufferOverflow(-9817L),
    BadCipherSuite(-9818L),
    PeerUnexpectedMsg(-9819L),
    PeerBadRecordMac(-9820L),
    PeerDecryptionFail(-9821L),
    PeerRecordOverflow(-9822L),
    PeerDecompressFail(-9823L),
    PeerHandshakeFail(-9824L),
    PeerBadCert(-9825L),
    PeerUnsupportedCert(-9826L),
    PeerCertRevoked(-9827L),
    PeerCertExpired(-9828L),
    PeerCertUnknown(-9829L),
    IllegalParam(-9830L),
    PeerUnknownCA(-9831L),
    PeerAccessDenied(-9832L),
    PeerDecodeError(-9833L),
    PeerDecryptError(-9834L),
    PeerExportRestriction(-9835L),
    PeerProtocolVersion(-9836L),
    PeerInsufficientSecurity(-9837L),
    PeerInternalError(-9838L),
    PeerUserCancelled(-9839L),
    PeerNoRenegotiation(-9840L),
    PeerAuthCompleted(-9841L),
    ClientCertRequested(-9842L),
    HostNameMismatch(-9843L),
    ConnectionRefused(-9844L),
    DecryptionFail(-9845L),
    BadRecordMac(-9846L),
    RecordOverflow(-9847L),
    BadConfiguration(-9848L),
    UnexpectedRecord(-9849L),
    WeakPeerEphemeralDHKey(-9850L),
    ClientHelloReceived(-9851L);
    /**/

    /**/
    /**/
    /**//**/
    /**//**/

    private final long n;

    private /**/SSLErrorCode/**/(long n) { this.n = n; }
    public long value() { return n; }
    public static /**/SSLErrorCode/**/ valueOf(long n) {
        for (/**/SSLErrorCode/**/ v : values()) {
            if (v.n == n) {
                return v;
            }
        }
        throw new IllegalArgumentException("No constant with value " + n + " found in " 
            + /**/SSLErrorCode/**/.class.getName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy